elementUI表格默认多选

发布时间 2023-04-27 17:51:10作者: 前端小菜鸡美哥
this.multipleSelection = row.mer_type_id this.$nextTick(()=>{ this.multipleSelection.forEach(id => { const row = this.categoryMerTypeList.find(item => item.mer_type_id == id); this.$refs.multipleTable.toggleRowSelection(row, true); }); })