mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-10 17:24:21 +01:00
🎨 更新删除操作确认提示
This commit is contained in:
parent
08a0f835ab
commit
f76608bf90
16 changed files with 17 additions and 12 deletions
|
|
@ -17,7 +17,7 @@ export const deleteFile = (notebookId: string, pathString: string, name: string)
|
|||
if (response.data.subFileCount > 0) {
|
||||
tip = `${window.siyuan.languages.confirmDelete} <b>${name}</b> ${window.siyuan.languages.andSubFile.replace("x", response.data.subFileCount)}?`;
|
||||
}
|
||||
confirmDialog(window.siyuan.languages.delete, tip, () => {
|
||||
confirmDialog(window.siyuan.languages.deleteOpConfirm, tip, () => {
|
||||
fetchPost("/api/filetree/removeDoc", {
|
||||
notebook: notebookId,
|
||||
path: pathString
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue