Commit 14022776 by 李伟康

commit 修复缓存

1 parent da389a57
...@@ -242,7 +242,6 @@ export default { ...@@ -242,7 +242,6 @@ export default {
watchStatus: { watchStatus: {
immediate: true, immediate: true,
handler (newval) { handler (newval) {
console.log(newval)
if (newval) this.clearBoard() if (newval) this.clearBoard()
} }
}, },
......
...@@ -174,6 +174,7 @@ export default { ...@@ -174,6 +174,7 @@ export default {
handler (newval) { handler (newval) {
this.receptionStatus = -1 this.receptionStatus = -1
this.errorTip = false this.errorTip = false
this.$refs.formRef.close()
} }
}, },
}, },
...@@ -228,6 +229,8 @@ export default { ...@@ -228,6 +229,8 @@ export default {
}, },
open () { open () {
this.$store.dispatch('getCustomerInfo').then((customerInfo) => { this.$store.dispatch('getCustomerInfo').then((customerInfo) => {
this.errorTip = false
this.receptionStatus = -1
this.formData = customerInfo this.formData = customerInfo
this.step = Object.values(customerInfo).every((value) => !!value) ? 2 : 1 this.step = Object.values(customerInfo).every((value) => !!value) ? 2 : 1
this.$refs.formRef.open() this.$refs.formRef.open()
......
...@@ -280,6 +280,7 @@ export default { ...@@ -280,6 +280,7 @@ export default {
this.$refs.finish.close() this.$refs.finish.close()
this.id = ""; this.id = "";
this.type = ""; this.type = "";
this.clearHistory()
}, },
thumbnailLoad (id) { thumbnailLoad (id) {
this.thumbnailFulfillList.push(id); this.thumbnailFulfillList.push(id);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!