浏览代码

[edit] fix

wenliming 3 年之前
父节点
当前提交
75d27f8efe
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/view/components/give-dialog.vue

+ 1 - 3
src/view/components/give-dialog.vue

@@ -767,9 +767,7 @@ const onCountInput = () => {
     }
     // val = val.replace(/[^\d]/g, "");
     val = val.replace(/^\D*(\d*(?:\.\d{0,18})?).*$/g, '$1');
-    if (val > 9999) {
-        val = 9999;
-    }
+
     baseFormData.totalCount = val;
     setInputErrorMsg({from: 'count', type:'input'});
     return val;