setNavigationBarTitle

This commit is contained in:
花有清香月有阴
2021-12-24 11:26:12 +08:00
parent 458e264db0
commit ccd60c95d7
6 changed files with 42 additions and 41 deletions

View File

@@ -33,6 +33,7 @@ export default {
computed: {},
watch: {},
onLoad(o) {
uni.setNavigationBarTitle({ title: '公告详情' })
this.id = o.id
this.getDetail()
},
@@ -48,10 +49,10 @@ export default {
}
})
},
previewImage (images, img) {
previewImage(images, img) {
uni.previewImage({
urls: images.map(v => v.url),
current: img
urls: images.map((v) => v.url),
current: img,
})
},
},