2 Commits ad0ab198e3 ... be11dc241a

Autore SHA1 Messaggio Data
  duxiangyu be11dc241a Merge branch 'master' into dev_duxiangyu 2 anni fa
  duxiangyu 0a1bdcac7c 修改项目信息输入框小数点判断规则 2 anni fa
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/components/project-manage/form/items/input.vue

+ 1 - 1
src/components/project-manage/form/items/input.vue

@@ -127,7 +127,7 @@ export default {
         }
       }
 
-      if (!["DOUBLE"].includes(this.formItemObj.dataType)) {
+      if (["DOUBLE"].includes(this.formItemObj.dataType)) {
         if (!isDouble.test(e)) {
           this.errorInfo = "仅支持小数点后两位";
           return;