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) { 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()
@@ -170,7 +174,7 @@ export default {
var option = { var option = {
xAxis: { xAxis: {
type: 'category', type: 'category',
data: data.map((v) => v.name.replace('数量', '')), data: data.map((v) => v.name.replace('数量', '').replace('和操办登记', '')),
axisLine: { axisLine: {
lineStyle: { color: '#157EFF' }, lineStyle: { color: '#157EFF' },
}, },