Vanessa 2022-07-01 22:08:00 +08:00
parent 5ecc2a862e
commit d1a2140cd9
12 changed files with 78 additions and 20 deletions

View file

@ -45,7 +45,7 @@ export class Menus {
if (dataType === "navigation-file") {
this.unselect();
// navigation 文件上:删除/重命名/打开文件位置/导出
initFileMenu(this.getDir(target), target.getAttribute("data-path"), target.getAttribute("data-node-id"), target.getAttribute("data-name")).popup({
initFileMenu(this.getDir(target), target.getAttribute("data-path"), target).popup({
x: event.clientX,
y: event.clientY
});