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

在Vue项目中,已选则,后来updateWheel刷新数据,能否修改默认选项 #68

Open
xmymsd opened this issue Mar 21, 2019 · 0 comments

Comments

@xmymsd
Copy link

xmymsd commented Mar 21, 2019

首先,我的项目中需求是先选择公司,再选择账号(每个公司有一堆不同账号)
如果是正常操作时没问题的...

但如果选择账号后,再重新选择其他公司,则执行选择账号的updateWheel刷新数据,内容无法改变,还是之前选择的数据;除非再重新触发 ‘选择账号’的组建
代码如下

{{data.company}}
{{ AccountNumber }}

#select-company 回调里
mobileSelect2.updateWheel(0,that.data.AllId);
that.AccountNumber = that.data.AllId[0]

但输出 that.AccountNumber 虽然有变化,但页面显示无变化

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