|
|
|
@ -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 { |
|
|
|
|