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, pass: 1,
} }
}).then(() => { }).then(() => {
this.$u.toast('发布成功') // this.$u.toast('发布成功')
uni.$emit('update') uni.$emit('update')
setTimeout(()=>{ setTimeout(()=>{
uni.navigateBack() uni.navigateBack()

View File

@@ -43,7 +43,7 @@ export default {
tabIndex: '', tabIndex: '',
showType: false, showType: false,
content: '', content: '',
typeList: [], // typeList: [],
current: 1, current: 1,
topic: '', topic: '',
topicType: '', topicType: '',
@@ -51,8 +51,18 @@ export default {
} }
}, },
created() { 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.$dict.load('villagerCircleTopic','auditStatus').then(()=>{
this.getList()
uni.$on('update',()=>{ uni.$on('update',()=>{
this.current = 1 this.current = 1
this.getList() this.getList()

View File

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