Skip to content

Commit 9d630e7

Browse files
committed
修复首次安装无法学习的Bug
1 parent 8b48aba commit 9d630e7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/renderer/core/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ export default class MarisaCore {
8888
}
8989
}
9090
}
91+
// 初始安装魔理沙
92+
if (memorise.length <= 0) {
93+
memorey = {
94+
keyword: toPpl,
95+
answer: str[1]
96+
}
97+
}
9198
return memorey
9299
}
93100

0 commit comments

Comments
 (0)