Skip to content

Commit

Permalink
Merge pull request #6 from gutrse3321/0.1
Browse files Browse the repository at this point in the history
修复首次安装无法学习的Bug
  • Loading branch information
gutrse3321 authored Aug 1, 2018
2 parents 4ade1c6 + 9d630e7 commit 6d20c58
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/renderer/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ export default class MarisaCore {
}
}
}
// 初始安装魔理沙
if (memorise.length <= 0) {
memorey = {
keyword: toPpl,
answer: str[1]
}
}
return memorey
}

Expand Down

0 comments on commit 6d20c58

Please sign in to comment.