avue-curd 使用sortable-change拖动 顺序会错乱
原因有:
1.未设置row-key
2.row-key 值有重复
@sortable-change="sortableChange"
sortableChange (oldindex, newindex, row, list) {
this.detailData = [];
this.tabsValueDisabled = true
this.$nextTick(() => {
this.detailData = list;
this.tabsValueDisabled = false
console.log(list)
});
},