2 Commits ad0ab198e3 ... be11dc241a

Author SHA1 Message Date
  duxiangyu be11dc241a Merge branch 'master' into dev_duxiangyu 2 years ago
  duxiangyu 0a1bdcac7c 修改项目信息输入框小数点判断规则 2 years ago
1 changed files with 1 additions and 1 deletions
  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;