mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-23 03:17:41 +08:00
修改删除正在编辑的文件的提示
This commit is contained in:
parent
90372168b4
commit
a4d4989bae
@ -104,7 +104,7 @@ export default {
|
||||
.then(async () => {
|
||||
let res = await window.electronAPI.deleteFile(file)
|
||||
if (res) {
|
||||
this.$message.error('删除失败')
|
||||
this.$message.error(res || '删除失败')
|
||||
} else {
|
||||
this.list.splice(index, 1)
|
||||
this.$message.success('删除成功')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user