Skip to content
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

Open
michael2043 opened this issue Feb 5, 2019 · 0 comments
Open

modal弹窗中von-input 不能双向绑定 #196

michael2043 opened this issue Feb 5, 2019 · 0 comments

Comments

@michael2043
Copy link

michael2043 commented Feb 5, 2019

代码如下,当在模态框中输入手机号后点击 submitSms()一直报手机号空
在chrome浏览器中没问题,但是打包后在微信浏览器中就不行了

<von-input type="text" v-model="telephone" placeholder="请输入手机号" label="手机号"></von-input>
data() {
return {
telephone:"",
}
},

submitSms(){
if(this.telephone == ''){
$dialog.alert({
content: '请输入手机号'
});
return;
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant