Clean up dead code, typos, and minor style issues

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 14:00:31 +08:00
parent 932275e4d4
commit 19a39bbbff
5 changed files with 10 additions and 13 deletions

View File

@@ -824,7 +824,7 @@ function download(type, id, source, name) {
*/
function primaryDragDelete() {
compareData.value.unshift(primaryDragData.value[0]);
primaryDragData.value.length = 0;
primaryDragData.value = [];
}
/**
@@ -832,7 +832,7 @@ function primaryDragDelete() {
*/
function secondaryDragDelete() {
compareData.value.unshift(secondaryDragData.value[0]);
secondaryDragData.value.length = 0;
secondaryDragData.value = [];
}
/**