Browse Source

2024.10.18 - 修复添加爆品未清空状态的bug

GuYun-D 5 months ago
parent
commit
f0de84f244
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/views/active/hot/HotGoodsAdd.vue

+ 8 - 0
src/views/active/hot/HotGoodsAdd.vue

@@ -93,6 +93,14 @@ export default {
     }
   },
 
+  watch: {
+    hotGoodsAddVisible(visible) {
+      if (!visible) {
+        this.reset()
+      }
+    }
+  },
+
   methods: {
     open(row) {
       if (row && typeof row === 'object') {