在单选模式下

       a、使用 @on-row-click="selectIndex" 得到index索引并且存起来

       b、在mounted 或者 watch 使用 this.dataShow[this.index]._highlight = true;

 

Logo

前往低代码交流专区

更多推荐