Skip to content

Commit

Permalink
Merge branch 'release/2.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
purocean committed Dec 27, 2019
2 parents da2756f + 395ebc0 commit da6cc0e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. 修复快速打开面板小问题

<details>
<summary>展开查看更多版本记录</summary>

### [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. 增加复制文档标题链接功能
Expand Down
8 changes: 3 additions & 5 deletions frontend/src/components/QuickOpen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -225,13 +225,11 @@ export default {
}
}
},
list () {
this.updateSelected()
},
searchText () {
this.updateDataSource()
},
dataList () {
this.updateSelected()
this.$nextTick(() => this.highlightText(this.searchText.trim()))
},
currentTab () {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit da6cc0e

Please sign in to comment.