Commit 74e98f02 by 李伟康

commit 提交

1 parent cda111e2
...@@ -31,12 +31,10 @@ export default { ...@@ -31,12 +31,10 @@ export default {
} }
}, },
watch: { watch: {
watchStatus: {
},
watchCarModel: { watchCarModel: {
immediate: true, immediate: true,
handler (newval) { handler (newval) {
if (this.madiaId == 3) {
let index = { let index = {
'问界M5': 0, '问界M5': 0,
'问界M7': 1, '问界M7': 1,
...@@ -45,11 +43,9 @@ export default { ...@@ -45,11 +43,9 @@ export default {
return this.viewIndex = index || 0 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!