Skip to content

Commit

Permalink
修复首次安装无法学习的Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gutrse3321 committed Aug 1, 2018
1 parent 8b48aba commit 9d630e7
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 9d630e7

Please sign in to comment.