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

第一次弹出的时候,不滑动,直接点确定,不会赋值 #1

Open
talliujobs opened this issue Nov 14, 2017 · 1 comment

Comments

@talliujobs
Copy link

有个不足。点击选择城市,弹出 picker-view,picker-view 显示的是 北京市 市辖区 东城区,如果此时点击右上角的确定,是没有执行赋值操作的,这样好像不合理吧?

@FisherMS
Copy link

FisherMS commented Aug 22, 2018

在JS文件,85行附近将原来的
var val =e.detail.value 修改为
var val = e == null ? [0, 0, 0] : e.detail.value

在调用的地方hiddenFloatView方法:
修改为
//隐藏picker-view
hiddenFloatView: function (e) {
model.animationEvents(this, 200, false, 400);
this.bindChange(null);
},

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

2 participants