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
version: 2.7.9
<x-input v-model="zeroNumber" title="穿入数字为0" placeholder-align="right" text-align="right"></x-input>
我这样使用xinput,初始值为0,发现清除按钮不见了,如下图,上面为初始为非0,就有清除按钮 目前我是这样解决的,修改xinput源码,在watch里修改currentValue为字符串‘0’
watch: { ... currentValue (newVal) { if (newVal === 0){ this.currentValue = '0' return } if (!this.equalWith && newVal) { this.validateEqual() } ... }
The text was updated successfully, but these errors were encountered:
647d0a7
No branches or pull requests
version: 2.7.9
我这样使用xinput,初始值为0,发现清除按钮不见了,如下图,上面为初始为非0,就有清除按钮

目前我是这样解决的,修改xinput源码,在watch里修改currentValue为字符串‘0’
The text was updated successfully, but these errors were encountered: