setNavigationBarTitle

This commit is contained in:
花有清香月有阴
2021-12-24 11:20:22 +08:00
parent 9377875ce7
commit 0aed20e272
15 changed files with 15 additions and 9 deletions

View File

@@ -53,8 +53,6 @@
</div>
<div class="btn" @click="submit">保存</div>
</div>
</template>
@@ -99,10 +97,9 @@ export default {
},
computed: { ...mapState(['user']) },
onLoad(o) {
console.log(this.user)
uni.setNavigationBarTitle({ title: '发布活动' })
this.id = o.id ? o.id : ''
this.$dict.load('realityStatus').then(() => {
// this.getDetail()
this.areaId = this.user.areaId
this.forms.areaId = this.user.areaId

View File

@@ -39,6 +39,7 @@ export default {
}
},
onLoad(o) {
uni.setNavigationBarTitle({ title: '发布动态' })
this.id = o.id || ''
},
methods: {

View File

@@ -75,6 +75,7 @@ export default {
},
watch: {},
onLoad() {
uni.setNavigationBarTitle({ title: '居民活动' })
this.$dict.load(['villageActivityStatus']).then(() => {
this.getList()
})

View File

@@ -135,7 +135,7 @@ export default {
}
},
onLoad(option) {
console.log(option)
uni.setNavigationBarTitle({ title: '活动报名' })
this.id = option.id
this.$dict.load(['villageActivityStatus']).then(() => {
this.getDetail()