Explorar el Código

最大值最小值修改

luolei hace 4 años
padre
commit
2ed2d3cace
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/basicKnow/AddTerm.vue

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

@@ -795,7 +795,7 @@ export default {
           this.warning('年龄必须是0-200');
           return;
         }
-        if(this.minValue >= this.maxValue){
+        if(this.minValue >= this.maxValue&&this.data.type=='实验室检查子项目'){
           this.warning('最小值小于最大值');
           return;
         }