Explorar o código

术语类型判断

luolei %!s(int64=4) %!d(string=hai) anos
pai
achega
88675f970a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
       }