MaiXinRong 5 years ago
parent
commit
faab7c50e9
1 changed files with 4 additions and 0 deletions
  1. 4 0
      app/lib/ledger.js

+ 4 - 0
app/lib/ledger.js

@@ -61,6 +61,10 @@ class billsTree {
         return children;
     };
 
+    getNodeSerialNo(node) {
+        return this.nodes.indexOf(node);
+    }
+
     /**
      * 树结构根据显示排序
      */