提交 09c8f18f 编写于 作者: C Catouse

* fix error on section desc attribute not set.

上级 56204fa1
......@@ -919,7 +919,7 @@
});
if(isBreak) break;
}
if(section.desc.toLowerCase().includes(keyVal)) {
if(section.desc && section.desc.toLowerCase().includes(keyVal)) {
chooseThisKey = true;
matchType = 'section.desc';
weight = 30;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册