Commit 1acc5f01 by 李伟康

commit 清空缓存操作

1 parent 14022776
...@@ -50,7 +50,18 @@ export default { ...@@ -50,7 +50,18 @@ export default {
carlist: [], carlist: [],
} }
}, },
watch:{
watchStatus: {
immediate: true,
handler (newval) {
this.close()
}
},
},
computed: { computed: {
watchStatus () {
return this.$store.state.user.historyStatus
},
carModel () { carModel () {
return this.$store.state.user.customerInfo.carModel return this.$store.state.user.customerInfo.carModel
}, },
...@@ -86,6 +97,7 @@ export default { ...@@ -86,6 +97,7 @@ export default {
this.$emit('select', item) this.$emit('select', item)
}, },
close () { close () {
this.$refs.carBoxVisible.close();
this.$refs.carBrandListVisible.close() this.$refs.carBrandListVisible.close()
} }
} }
......
...@@ -28,9 +28,17 @@ export default { ...@@ -28,9 +28,17 @@ export default {
} }
}, },
watch:{ watch:{
watchStatus: {
immediate: true,
handler (newval) {
this.close()
}
},
}, },
computed: { computed: {
watchStatus () {
return this.$store.state.user.historyStatus
},
salesUuid(){ salesUuid(){
return this.$store.state.user.customerInfo.salesUuid return this.$store.state.user.customerInfo.salesUuid
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!