huangmp 1 yıl önce
ebeveyn
işleme
9b90c7abc6

+ 9 - 1
src/views/modules/pickCard/card-set-lib-add-or-update.vue

@@ -249,7 +249,7 @@ export default {
           type: 'success',
           duration: 500,
           onClose: () => {
-            this.closeDialog()
+            this.addToPurchaseItemCloseDialog()
           }
         })
       })
@@ -300,6 +300,14 @@ export default {
       this.mode = 'choose'
       this.isSelectAll = false
     },
+    addToPurchaseItemCloseDialog(){
+      this.selectNum = 0
+      this.dataForm.cardLibItemList = null
+      this.cardLibItemList.forEach(item => item.isSelected = false)
+      this.addToUserPurchaseVisible = false
+      this.mode = 'choose'
+      this.isSelectAll = false
+    }
   }
 }
 </script>