Browse Source

bug 修复

lilei 3 năm trước cách đây
mục cha
commit
5f7085881a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/salesManagement/salesman/editModal.vue

+ 2 - 2
src/views/salesManagement/salesman/editModal.vue

@@ -231,7 +231,7 @@ export default {
     isShow (newValue, oldValue) {
       if (!newValue) {
         this.$emit('close')
-        this.isEdit = true
+        this.isEdit = false
         this.$refs.ruleForm.resetFields()
       }
     },
@@ -241,7 +241,7 @@ export default {
         console.log(this.isShow)
         this.getDetail()
       } else {
-        this.isEdit = true
+        this.isEdit = false
         this.$refs.ruleForm.resetFields()
       }
     },