This commit is contained in:
花有清香月有阴
2021-12-23 17:42:26 +08:00
parent 48d168542a
commit 2019975258
2 changed files with 6 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ export default {
if (res.code == 0) { if (res.code == 0) {
this.$u.toast('发布成功') this.$u.toast('发布成功')
this.flag = false this.flag = false
uni.navigateTo({ url: `./AppMarryAndDie` }) uni.navigateTo({ url: `./AppMarryAndDie?indexTabs=1` })
} }
}) })
} else { } else {

View File

@@ -131,7 +131,11 @@ export default {
}, },
}, },
watch: {}, watch: {},
onLoad() { onLoad(o) {
if (o.indexTabs) {
this.currentTabs = o.indexTabs
}
this.$dict.load('marriageType', 'modeType').then(() => { this.$dict.load('marriageType', 'modeType').then(() => {
this.getList() this.getList()
this.getEchart() this.getEchart()