From 394818e7e306ebd4e2c5820891f09d183100803e Mon Sep 17 00:00:00 2001 From: purocean Date: Mon, 16 Jul 2018 09:29:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=96=B0=E5=BB=BA=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/TreeNode.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/TreeNode.vue b/frontend/src/components/TreeNode.vue index c2774faf..432dc126 100644 --- a/frontend/src/components/TreeNode.vue +++ b/frontend/src/components/TreeNode.vue @@ -78,7 +78,7 @@ export default { } const path = this.item.path + '/' + filename - File.write(path, `# ${filename.replace(/\.md$/i, '')}`, () => { + File.write(path, `# ${filename.replace(/\.md$/i, '')}\n`, () => { this.$emit('change', path) }, e => { alert(e.message)