setNavigationBarTitle
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad(o) {
|
||||
uni.setNavigationBarTitle({ title: '发布动态' })
|
||||
this.id = o.id || ''
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -75,6 +75,7 @@ export default {
|
||||
},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
uni.setNavigationBarTitle({ title: '居民活动' })
|
||||
this.$dict.load(['villageActivityStatus']).then(() => {
|
||||
this.getList()
|
||||
})
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user