MaiXinRong 5 anni fa
parent
commit
faab7c50e9
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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);
+    }
+
     /**
      * 树结构根据显示排序
      */