🎨 更新删除操作确认提示

This commit is contained in:
Liang Ding 2022-10-06 16:01:02 +08:00
parent 08a0f835ab
commit f76608bf90
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
16 changed files with 17 additions and 12 deletions

View file

@ -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