MaiXinRong 5 năm trước cách đây
mục cha
commit
faab7c50e9
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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);
+    }
+
     /**
      * 树结构根据显示排序
      */