Browse Source

Pull request #273121: FDL-10490 fix:demo平台权限管理api列表显示空白

Merge in DEC/fineui from ~KEVIN.KING/fineui:release/11.0 to release/11.0

* commit '8d4b0a67ccc7ccd7cef334b65528a00f886a8ae6':
  FDL-10490 fix:demo平台权限管理api列表显示空白
master
Kevin.King-王凯壮 8 months ago
parent
commit
3e44318c7e
  1. 5
      packages/fineui/src/base/tree/customtree.js

5
packages/fineui/src/base/tree/customtree.js

@ -16,7 +16,8 @@ import {
isNull, isNull,
createWidget, createWidget,
Controller, Controller,
Events Events,
omit,
} from "@/core"; } from "@/core";
/** /**
@ -104,7 +105,7 @@ export class CustomTree extends Widget {
return itemsCreator.apply(this, args); 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; item.popup.el.node = item.el;
items.push(item); items.push(item);
} else { } else {

Loading…
Cancel
Save