@@ -1407,6 +1407,12 @@ const createNewPathTree = function (type, setting) {
}
class FilterTree extends BaseTree {
+ clearDatas() {
+ this.items = {};
+ this.nodes = [];
+ this.datas = [];
+ this.children = [];
+ }
addData(data, fields) {
const item = {};
for (const prop in data) {