瀏覽代碼

术语类型判断

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;
       }