-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
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
modal弹窗中von-input 不能双向绑定 #196
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
代码如下,当在模态框中输入手机号后点击 submitSms()一直报手机号空
在chrome浏览器中没问题,但是打包后在微信浏览器中就不行了
<von-input type="text" v-model="telephone" placeholder="请输入手机号" label="手机号"></von-input>
data() {
return {
telephone:"",
}
},
submitSms(){
if(this.telephone == ''){
$dialog.alert({
content: '请输入手机号'
});
return;
}
}
The text was updated successfully, but these errors were encountered: