This commit is contained in:
X1627315083
2026-02-02 10:31:37 +08:00
parent 393a06eceb
commit 56916c8d10
3 changed files with 183 additions and 88 deletions

View File

@@ -804,7 +804,8 @@ export default defineComponent({
};
}
};
elList[item.index].sort = moveIndex;
let index = elList.findIndex((elListItem:any)=>item.id == elListItem.id)
elList[index].sort = moveIndex;
moveItem();
}
}
@@ -866,7 +867,8 @@ export default defineComponent({
el: elArr[i],
// sort: elArr.length - i -1,
sort: sortMap[arr[i].priority],
index: i,
id: `${arr[i].priority}_${Date.now() + i}`,
// index: i,
uniqueId:arr[i]?.uniqueId || 99999,
});
}

File diff suppressed because one or more lines are too long