Browse Source

fix(contact): 修复新增联系人时表单未正确初始化的bug

liujt 7 tháng trước cách đây
mục cha
commit
a3ef9cf690

+ 4 - 0
src/views/saleManage/contact/components/addContactDialog.vue

@@ -1362,6 +1362,7 @@
         this.visible = true;
 
         if (!row.id) {
+          console.log('新增', this.form);
           this.isUpdate = false;
           // 默认带出列表页面选中的分类
           this.$nextTick(() => {
@@ -1372,6 +1373,9 @@
           await this._getById(row.id);
         }
       },
+      handleActive(val) {
+        console.log(val);
+      },
       nameChange() {
         this.tableBankData.forEach((item) => {
           item.accountName = this.form.name;