From 187b3f0ddb1d70fcd9e61d45d557d2dd8ff97f34 Mon Sep 17 00:00:00 2001 From: purocean Date: Tue, 3 Aug 2021 20:26:33 +0800 Subject: [PATCH] =?UTF-8?q?upd:=20=E8=B0=83=E6=95=B4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/plugins/document-history-stack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/plugins/document-history-stack.ts b/src/renderer/plugins/document-history-stack.ts index fc869b7b..d2ea68d7 100644 --- a/src/renderer/plugins/document-history-stack.ts +++ b/src/renderer/plugins/document-history-stack.ts @@ -55,7 +55,7 @@ export default { if (file) { if (!ctx.doc.isSameFile(stack[idx], file)) { stack.splice(idx + 1, stack.length) - stack.push({ type: file.type, repo: file.repo, name: file?.name, path: file?.path }) + stack.push({ type: file.type, repo: file.repo, name: file.name, path: file.path }) idx = stack.length - 1 } }