Commit 93ed62e2 by 李伟康

commit 修复

1 parent d741e213
...@@ -365,7 +365,7 @@ export default { ...@@ -365,7 +365,7 @@ export default {
} }
}, },
close () { close () {
this.$refs.couponPopup.close() this.$refs.couponPopup?.close()
}, },
handleSelect(item, popkey) { handleSelect(item, popkey) {
console.log(item, popkey) console.log(item, popkey)
......
...@@ -141,6 +141,7 @@ export default { ...@@ -141,6 +141,7 @@ export default {
immediate: true, immediate: true,
handler (newval) { handler (newval) {
this.currentItem = null this.currentItem = null
this.closeAllPopup()
} }
}, },
show: { show: {
...@@ -233,8 +234,8 @@ export default { ...@@ -233,8 +234,8 @@ export default {
} }
}, },
closeAllPopup () { closeAllPopup () {
this.$refs.riskInformedPop.close() this.$refs.riskInformedPop?.close()
this.$refs.couponPopup.close() this.$refs.couponPopup?.close()
}, },
previewLeave (currentItem) { previewLeave (currentItem) {
if (this.isPreview) return if (this.isPreview) return
......
...@@ -187,7 +187,7 @@ export default { ...@@ -187,7 +187,7 @@ export default {
}, },
methods: { methods: {
closeAllPopup () { closeAllPopup () {
this.$refs.historyRef.close() this.$refs.historyRef?.close()
}, },
formatTime (val, key) { formatTime (val, key) {
return dayjs(val).format("YYYY-MM-DD HH:mm:ss") return dayjs(val).format("YYYY-MM-DD HH:mm:ss")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!