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