This commit is contained in:
liuye
2021-12-23 17:44:03 +08:00
2 changed files with 7 additions and 3 deletions

View File

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

View File

@@ -131,7 +131,11 @@ export default {
},
},
watch: {},
onLoad() {
onLoad(o) {
if (o.indexTabs) {
this.currentTabs = o.indexTabs
}
this.$dict.load('marriageType', 'modeType').then(() => {
this.getList()
this.getEchart()
@@ -170,7 +174,7 @@ export default {
var option = {
xAxis: {
type: 'category',
data: data.map((v) => v.name.replace('数量', '')),
data: data.map((v) => v.name.replace('数量', '').replace('和操办登记', '')),
axisLine: {
lineStyle: { color: '#157EFF' },
},