From 615741a56e145952d40673f3da6e08bcc9a1d2e3 Mon Sep 17 00:00:00 2001 From: purocean Date: Thu, 16 Jan 2020 16:27:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8F=92=E5=85=A5?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/Filter.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Filter.vue b/frontend/src/components/Filter.vue index 192dec4a..33ba6aa7 100644 --- a/frontend/src/components/Filter.vue +++ b/frontend/src/components/Filter.vue @@ -30,7 +30,7 @@ export default { this.show = f => { if (this.currentFile) { const relativePath = f.path.replace(this.currentFile.path.substr(0, this.currentFile.path.lastIndexOf('/')), '.') - this.$bus.emit('editor-insert-value', `[${f.name.replace(/\.[^.]$/, '')}](${encodeMarkdownLink(relativePath)})`) + this.$bus.emit('editor-insert-value', `[${f.name.replace(/\.[^.]+$/, '')}](${encodeMarkdownLink(relativePath)})`) } this.show = false } From 3185101ad67c16d89aa86de1333ec5b8731e2ecf Mon Sep 17 00:00:00 2001 From: purocean Date: Thu, 16 Jan 2020 16:28:09 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 +++++-- package.json | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8e3e5efd..3302bec7 100644 --- a/README.md +++ b/README.md @@ -150,12 +150,15 @@ yarn run start [Windows 商店下载](https://www.microsoft.com/zh-cn/p/yank-note-%e4%b8%80%e6%ac%be%e9%9d%a2%e5%90%91%e7%a8%8b%e5%ba%8f%e5%91%98%e7%9a%84-markdown-%e7%ac%94%e8%ae%b0%e5%ba%94%e7%94%a8/9n08bq8k8681?rtc=1#activetab=pivot:overviewtab) -### [v2.2.5](https://github.com/purocean/yn/releases/tag/v2.2.5) 2020-01-14 -1. 修复 frontend yarn.lock 问题 +### [v2.2.6](https://github.com/purocean/yn/releases/tag/v2.2.6) 2020-01-16 +1. 修复插入文档名称问题
展开查看更多版本记录 +### [v2.2.5](https://github.com/purocean/yn/releases/tag/v2.2.5) 2020-01-14 +1. 修复 frontend yarn.lock 问题 + ### [v2.2.4](https://github.com/purocean/yn/releases/tag/v2.2.4) 2020-01-14 1. 修复 frontend yarn.lock 问题 diff --git a/package.json b/package.json index 3a862696..bda44bd3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yank.note.yang", - "version": "2.2.5", + "version": "2.2.6", "description": "Yank Note 一款面向程序员的 Markdown 笔记应用", "main": "dist/app.js", "license": "Apache-2.0",