This commit is contained in:
parent
57970c97a4
commit
74a6c49f3f
1 changed files with 2 additions and 1 deletions
|
@ -352,7 +352,8 @@ export class Files extends Model {
|
|||
selectElements.forEach((item: HTMLElement, index) => {
|
||||
ghostElement.append(item.cloneNode(true));
|
||||
item.style.opacity = "0.1";
|
||||
const itemNodeId = item.dataset.nodeId || item.dataset.path;
|
||||
const itemNodeId = item.dataset.nodeId ||
|
||||
item.dataset.path; // 拖拽笔记本时值不能为空,否则 drop 就不会继续排序
|
||||
if (itemNodeId) {
|
||||
ids += itemNodeId;
|
||||
if (index < selectElements.length - 1) {
|
||||
|
|
Loading…
Add table
Reference in a new issue