wyq 4 anni fa
parent
commit
d1611ba862
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/components/base/LtModal.vue

+ 1 - 1
src/components/base/LtModal.vue

@@ -270,7 +270,7 @@ export default {
       const { hisName, hisDetailName } = this.form;
       if (hisName !== '' && hisDetailName === '' && this.type == 1) {
         this.ty = 1;
-      } else if (hisName !== '' && hisDetailName !== '') {
+      } else if (hisName !== '' && hisDetailName !== '' && this.type == 1) {
         this.ty = 2;
       }
       if (this.getIndex == row.index) {