Browse Source

术语类型判断

luolei 4 năm trước cách đây
mục cha
commit
88675f970a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
       }