@@ -26,6 +26,8 @@ class baseTree {
this.children = [];
// 树设置
this.setting = setting;
+ if (!this.setting.isLeaf) this.setting.isLeaf = 'is_leaf';
+ if (!this.setting.fullPath) this.setting.fullPath = 'full_path';
}
clear() {
// 无索引