diff --git a/packages/fineui/src/base/tree/customtree.js b/packages/fineui/src/base/tree/customtree.js index 349ae0912..eb774edfc 100644 --- a/packages/fineui/src/base/tree/customtree.js +++ b/packages/fineui/src/base/tree/customtree.js @@ -16,7 +16,8 @@ import { isNull, createWidget, Controller, - Events + Events, + omit, } from "@/core"; /** @@ -104,7 +105,7 @@ export class CustomTree extends Widget { return itemsCreator.apply(this, args); }; - isNull(item.popup.el) && (item.popup.el = deepClone(this.options.el)); + isNull(item.popup.el) && (item.popup.el = deepClone(omit(this.options.el, "node"))); item.popup.el.node = item.el; items.push(item); } else {