1
0
mirror of synced 2026-03-23 11:18:36 +08:00

fix(editor): 修复自动保存提示不展示的问

#440
This commit is contained in:
parisma
2022-10-28 15:41:55 +08:00
parent d98d3748d3
commit 0f0ec183a8

View File

@@ -105,6 +105,7 @@ const saveCode = async (): Promise<boolean> => {
// 删除草稿
services?.codeBlockService.removeCodeDraft(props.id);
emit('save', editorContent);
shouldShowDraftTip.value = true;
return true;
} catch (e: any) {
tMagicMessage.error(e.stack);