quwangxin %!s(int64=2) %!d(string=hai) anos
pai
achega
1ac45c61a2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/flowable/model/index.vue

+ 1 - 1
src/views/flowable/model/index.vue

@@ -370,7 +370,7 @@
       },
       //验证字符串是否是数字
       checkNumber (theObj) {
-        var reg = /^[0-9]+.?[0-9]*$/;
+        var reg = /^[0-9]+\.?[0-9]*$/;
         if (reg.test(theObj)) {
           return true;
         }