版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/p930318/article/details/83270083
我想写一个子页面elementUI 表格多选清除的功能
在父组件页面上定义ref 然后一层一层就直接找到了。
this.$refs.query.$refs.table.clearSelection()
我想写一个子页面elementUI 表格多选清除的功能
在父组件页面上定义ref 然后一层一层就直接找到了。
this.$refs.query.$refs.table.clearSelection()