ソースを参照

术语类型判断

luolei 4 年 前
コミット
88675f970a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/components/basicKnow/AddTerm.vue

+ 1 - 1
src/components/basicKnow/AddTerm.vue

@@ -762,7 +762,7 @@ export default {
         this.warning('请输入标准词');
         return;
       }
-      if (!this.data.code && !this.unfit && !this.data.type) {
+      if (!this.data.code && !this.unfit || !this.data.type) {
         this.warning('请选择术语类型');
         return;
       }