-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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.0.4 select组件默认值不是不是label的值而是value的值 #1537
Labels
Comments
试了一下无法重现:http://jsfiddle.net/leopoldthecuber/Ldkg2ohy/ 请给出能重现的 demo。 |
请问这是什么问题?1.0.3以前都是ok的,只有到了1.0.4就bug了 |
确认是 bug。暂时可以先锁定 1.0.3,下个版本修复。 如果确实需要使用 1.0.4,可以暂时把 setTimeout(function() {
self.date_choose = value.DateRangeID;
}, 0); |
4 tasks
Closed
Fixed in #1540 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前的1.0.4版本出现的select v-model的默认显示的值竟然变成了label的值,而不是value的值,一脸的懵逼。
代码中的label是绑定的中文,value绑定的是对应的id。最后显示的确实id而不是label
The text was updated successfully, but these errors were encountered: