FirstUI-uvue icon indicating copy to clipboard operation
FirstUI-uvue copied to clipboard

[BUG] fui-input

Open Zyp1059872370 opened this issue 10 months ago • 0 comments

如果输入e开头的字符串则会出现如下bug

控制台如下: 00:08:19.151 ‌error: java.lang.NumberFormatException: For input string: ""‌ 00:08:19.151 at uni_modules/firstui-uvue/components/fui-input/fui-input.uvue:424:4 00:08:19.151 422| if (this.trim) value = this.trimStr(value); 00:08:19.151 423| this.val = value; 00:08:19.151 424| let currentVal = parseFloat(value) 00:08:19.151 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 00:08:19.151 425| // -9007199254740992 ~ 9007199254740992 00:08:19.152 426| if ((this.type == 'digit' || this.type == 'number') && !

Zyp1059872370 avatar Apr 12 '25 16:04 Zyp1059872370