Commit 1814ef51 authored by 孙灵跃 leon's avatar 孙灵跃 leon

#9953

parent ffd95ac0
...@@ -222,7 +222,12 @@ export default { ...@@ -222,7 +222,12 @@ export default {
manualSaveConfig(config); manualSaveConfig(config);
}, },
handleClose(){ async handleClose(){
await this.$confirm('此操作将会丢失您的编辑内容, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
})
manualCancel(); manualCancel();
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment