This commit is contained in:
shijingjing
2022-02-22 16:09:31 +08:00
parent 22c442143f
commit 178a6084e3
3 changed files with 14 additions and 4 deletions

View File

@@ -122,7 +122,7 @@ export default {
pass: 1,
}
}).then(() => {
this.$u.toast('发布成功')
// this.$u.toast('发布成功')
uni.$emit('update')
setTimeout(()=>{
uni.navigateBack()

View File

@@ -43,7 +43,7 @@ export default {
tabIndex: '',
showType: false,
content: '',
typeList: [],
// typeList: [],
current: 1,
topic: '',
topicType: '',
@@ -51,8 +51,18 @@ export default {
}
},
created() {
this.getList()
// let all = [{
// dictName:'全部',
// dictValue:'',
// dictColor:null
// }]
// let list = [...all,...this.$dict.getDict('villagerCircleTopic')]
// console.log(list,111);
// this.$dict.getDict('villagerCircleTopic').unshift(b)
// console.log(this.$dict.getDict('villagerCircleTopic'));
this.$dict.load('villagerCircleTopic','auditStatus').then(()=>{
this.getList()
uni.$on('update',()=>{
this.current = 1
this.getList()

View File

@@ -100,7 +100,7 @@ export default {
uni.$emit('update')
setTimeout(()=>{
uni.navigateBack()
})
},600)
})
}
},