// element table ,每次只能选一个@selection-change="selectChange" selectChange (val) { if (val.length > 1) { this.$refs.table.clearSelection(); this.$refs.table.toggleRowSelection(val.pop()); } else { this.selectData = val } }