|
@@ -3376,7 +3376,7 @@ $(document).ready(function() {
|
|
|
this.searchCur = 0;
|
|
|
if (keyword) {
|
|
|
for (const [i, d] of this.exprSheet.zh_tree.nodes.entries()) {
|
|
|
- if (d.code && d.code.indexOf(keyword)) {
|
|
|
+ if (d.code && d.code.indexOf(keyword) >= 0) {
|
|
|
this.searchResult.push(d);
|
|
|
continue;
|
|
|
}
|