diff --git a/README.md b/README.md index 7df88727d..2bbe7588d 100644 --- a/README.md +++ b/README.md @@ -150,13 +150,16 @@ 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.1](https://github.com/purocean/yn/releases/tag/v2.2.1) 2019-12-25 -1. 修复跳转中文路径处理 -1. 优化插入文档文件链接 +### [v2.2.2](https://github.com/purocean/yn/releases/tag/v2.2.2) 2019-12-27 +1. 修复快速打开面板小问题
展开查看更多版本记录 +### [v2.2.1](https://github.com/purocean/yn/releases/tag/v2.2.1) 2019-12-26 +1. 修复跳转中文路径处理 +1. 优化插入文档文件链接 + ### [v2.2.0](https://github.com/purocean/yn/releases/tag/v2.2.0) 2019-12-25 1. 增加文档之间跳转功能 1. 增加复制文档标题链接功能 diff --git a/frontend/src/components/QuickOpen.vue b/frontend/src/components/QuickOpen.vue index 568531d22..6bd30913c 100644 --- a/frontend/src/components/QuickOpen.vue +++ b/frontend/src/components/QuickOpen.vue @@ -103,8 +103,8 @@ export default { this.$refs.fileName.concat(this.$refs.filePath).forEach(function (it) { let text = '' - it.innerText.toLowerCase().split('').forEach(char => { - if (search.indexOf(char) > -1) { + it.innerText.split('').forEach(char => { + if (search.indexOf(char.toLowerCase()) > -1) { text += `${openF}${char}${closeF}` } else { text += char @@ -225,13 +225,11 @@ export default { } } }, - list () { - this.updateSelected() - }, searchText () { this.updateDataSource() }, dataList () { + this.updateSelected() this.$nextTick(() => this.highlightText(this.searchText.trim())) }, currentTab () { diff --git a/package.json b/package.json index 96e622dec..5c27f582b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yank.note.yang", - "version": "2.2.1", + "version": "2.2.2", "description": "Yank Note 一款面向程序员的 Markdown 笔记应用", "main": "dist/app.js", "license": "Apache-2.0",