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

Collapse v-model 值变变更后,activedKeys未同步 #71

Closed
btboys opened this issue Mar 11, 2019 · 4 comments
Closed

Collapse v-model 值变变更后,activedKeys未同步 #71

btboys opened this issue Mar 11, 2019 · 4 comments
Assignees
Labels

Comments

@btboys
Copy link

btboys commented Mar 11, 2019

Collapse组件的v-model 值变变更后,activedKeys未同步

@vvpvvp
Copy link
Member

vvpvvp commented Mar 11, 2019

activedKeys? 没有这个相关属性啊?

@btboys
Copy link
Author

btboys commented Mar 12, 2019

activedKeys? 没有这个相关属性啊?

.....你自己写的组件,难道你没印象麽。。。。 collapse.vue的26行,我觉得你需要watch value属性的变化。不然没法手动修改collapse的选中项。
当我动态改变collapseItem列表时,activedKeys是会叠加,并没有清空而重新计算。

@vvpvvp
Copy link
Member

vvpvvp commented Mar 12, 2019

sorry, 我理解成Category组件了,这个我会在下期迭代中补充上。

周五上线。

@yaooojia
Copy link
Contributor

yaooojia commented Mar 14, 2019

hi @btboys @vvpvvp ~
watch value 已加,上线之后就可以看到了。
关于列表更新重置keys的问题,应该是开发者自己去关注的。

@vvpvvp vvpvvp closed this as completed Mar 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants