MaiXinRong 1 년 전
부모
커밋
d693e9bda3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/public/js/ledger.js

+ 1 - 1
app/public/js/ledger.js

@@ -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;
                     }