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

AT-UI组件at-Table的选中事件填坑指南 #152

Open
turboxp53 opened this issue Apr 22, 2019 · 0 comments
Open

AT-UI组件at-Table的选中事件填坑指南 #152

turboxp53 opened this issue Apr 22, 2019 · 0 comments

Comments

@turboxp53
Copy link

turboxp53 commented Apr 22, 2019

at-table配置属性optional后,
on-select-all
on-selection-change
如果全选,或者去除全选,你会发现都执行了对应的事件,然而这样貌似是不正确的
源码中注释掉:
// status && this.$emit('on-select-all', selection)
// this.$emit('on-selection-change', selection)
修改为:
this.$emit('on-select-all', selection)

另外修复两个issue
@ #120
@ #149

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