Vanessa 2025-03-31 16:15:44 +08:00
parent 345be890f6
commit 378b552069
9 changed files with 12 additions and 12 deletions

View file

@ -435,7 +435,7 @@ export class Files extends Model {
const ghostElement = document.createElement("ul");
selectElements.forEach((item: HTMLElement, index) => {
ghostElement.append(item.cloneNode(true));
item.style.opacity = "0.1";
item.style.opacity = "0.38";
const itemNodeId = item.dataset.nodeId ||
item.dataset.path; // 拖拽笔记本时值不能为空,否则 drop 就不会继续排序
if (itemNodeId) {