We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
版本:1.2.6 组件:NumberBox 问题:无法通过+、-将数字减到0;1.2.5版本正常 原因: 1.2.6版判断为:let tmp = /(^\d+$)/.test(v1) && String(v1)[0] != 0; 1.2.5版本判断为:let tmp = /(^\d+$)/.test(v1) && value[0] != 0;
The text was updated successfully, but these errors were encountered:
let tmp = /(^\d+$)/.test(v1) && (String(v1).length < 2 || String(v1)[0] != 0); 改成这样不置可否,判断下输入的值是1位数还是多位数应该行吧? 期待下个版本修复这个问题
Sorry, something went wrong.
1.3.0已修正此问题,感谢反馈,欢迎更新新版本。
No branches or pull requests
版本:1.2.6
组件:NumberBox
问题:无法通过+、-将数字减到0;1.2.5版本正常
原因:
1.2.6版判断为:let tmp = /(^\d+$)/.test(v1) && String(v1)[0] != 0;
1.2.5版本判断为:let tmp = /(^\d+$)/.test(v1) && value[0] != 0;
The text was updated successfully, but these errors were encountered: