wenliming 3 yıl önce
ebeveyn
işleme
75d27f8efe
1 değiştirilmiş dosya ile 1 ekleme ve 3 silme
  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]/g, "");
     val = val.replace(/^\D*(\d*(?:\.\d{0,18})?).*$/g, '$1');
     val = val.replace(/^\D*(\d*(?:\.\d{0,18})?).*$/g, '$1');
-    if (val > 9999) {
-        val = 9999;
-    }
+
     baseFormData.totalCount = val;
     baseFormData.totalCount = val;
     setInputErrorMsg({from: 'count', type:'input'});
     setInputErrorMsg({from: 'count', type:'input'});
     return val;
     return val;