wenliming 3 lat temu
rodzic
commit
75d27f8efe
1 zmienionych plików z 1 dodań i 3 usunięć
  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;