From 9d630e7a2d929d4418d3a92aa13d993768c4c49b Mon Sep 17 00:00:00 2001 From: gutrse3321 Date: Wed, 1 Aug 2018 13:24:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A6=96=E6=AC=A1=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E6=97=A0=E6=B3=95=E5=AD=A6=E4=B9=A0=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/core/index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/renderer/core/index.js b/src/renderer/core/index.js index 705e2b1..85b8d4e 100644 --- a/src/renderer/core/index.js +++ b/src/renderer/core/index.js @@ -88,6 +88,13 @@ export default class MarisaCore { } } } + // 初始安装魔理沙 + if (memorise.length <= 0) { + memorey = { + keyword: toPpl, + answer: str[1] + } + } return memorey }