Преглед изворни кода

fix(客户管理): 在关闭资质证照重置fileObj为空数组

liujt пре 6 месеци
родитељ
комит
24ddd8b6fe

+ 1 - 1
src/views/saleManage/contact/components/certificateManagement/components/add-dialog.vue

@@ -229,7 +229,7 @@
 
       close() {
         this.dialogVisible = false;
-        this.form = { ...defaultForm };
+        this.form = { ...defaultForm, fileObj: [] };
         this.$refs.productTableRef.initData();
       },