element ui table 翻页 默认选中

1、Table Attributes

row-key

2、Table-column Attributes

reserve-selection

3、Table Methods

toggleRowSelection

         
              
              
              
              
              
                
              
            

// 翻页 查询 默认 选中状态

  toggleRowSelection() {
    this.selectedList.forEach((item) => {
      this.$refs.table.toggleRowSelection(item, true)
    });
  },

你可能感兴趣的:(element ui table 翻页 默认选中)