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

el-edit-table 的 setOptions 问题 #59

Open
gd4Ark opened this issue Jun 1, 2020 · 0 comments
Open

el-edit-table 的 setOptions 问题 #59

gd4Ark opened this issue Jun 1, 2020 · 0 comments

Comments

@gd4Ark
Copy link

gd4Ark commented Jun 1, 2020

Describe the bug

当重新 setOptions 时,如果新的 options 匹配不到当前值,则会直接显示 value,给用户造成困扰

Screenshots

ezgif-3-6692a35559eb

To Reproduce

  1. 随意选择一项
  2. 通过 setOptions 传入其他的 options(此 options 所有项的 value 都不和第一步所选的值一致
  3. 由于匹配不上,会直接显示 value

Expected behavior

希望在 setOptions 时,如果新的 options 匹配不到当前值,则将当前值置空

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