Commit 74e98f02 by 李伟康

commit 提交

1 parent cda111e2
...@@ -31,25 +31,21 @@ export default { ...@@ -31,25 +31,21 @@ export default {
} }
}, },
watch: { watch: {
watchStatus: {
},
watchCarModel: { watchCarModel: {
immediate: true, immediate: true,
handler (newval) { handler (newval) {
let index = { if (this.madiaId == 3) {
'问界M5': 0, let index = {
'问界M7': 1, '问界M5': 0,
'问界M9': 2 '问界M7': 1,
}[newval] '问界M9': 2
return this.viewIndex = index || 0 }[newval]
return this.viewIndex = index || 0
}
} }
} }
}, },
computed: { computed: {
watchStatus () {
return this.$store.state.user.historyStatus
},
watchCarModel () { watchCarModel () {
return this.$store.state.user.customerInfo.carModel return this.$store.state.user.customerInfo.carModel
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!