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
已经把非数字的给替换为空了,非数字的还是显示了
The text was updated successfully, but these errors were encountered:
uni-app input组件内部的value是用watch监听的,然后在watch监听回调把你传入的value赋给一个新的value 你本来是value title = 1 然后输入 1a 你把非数字删除value title = 1 然后title 没变!所以input 内部的 watch就不会触发 所以建议你这种:伪代码 this.title = 1a $nextTick(() => { this.title = 1 })
Sorry, something went wrong.
No branches or pull requests
已经把非数字的给替换为空了,非数字的还是显示了
The text was updated successfully, but these errors were encountered: