Vanessa 2024-10-28 22:04:48 +08:00
parent 1d142c9df1
commit f2a53014fb
16 changed files with 32 additions and 18 deletions

View file

@ -177,7 +177,7 @@ export class MobileFiles extends Model {
notebook: target.getAttribute("data-url"),
callback: Constants.CB_MOUNT_REMOVE
});
});
}, undefined, true);
event.stopPropagation();
event.preventDefault();
break;

View file

@ -356,7 +356,7 @@ export const initAbout = () => {
genWorkspace(workspaceDirElement);
confirmDialog(window.siyuan.languages.deleteOpConfirm, window.siyuan.languages.removeWorkspacePhysically.replace("${x}", removePath), () => {
fetchPost("/api/system/removeWorkspaceDirPhysically", {path: removePath});
});
}, undefined, true);
});
event.preventDefault();
event.stopPropagation();