uniapp uni ui uni-table表格 回显

文档里说的暂不支持。结果却能使用。

关键代码:

selectedIndexs是选中的index下标数组
 that.$nextTick(() => {

    that.$refs.table1.toggleRowSelection(that.selectedIndexs,true)
   })

猜你喜欢

转载自blog.csdn.net/qq_22182989/article/details/129143508