Ver código fonte

添加判断

wyq 4 anos atrás
pai
commit
50b20cd572
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/components/base/LtModal.vue

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

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