Browse Source

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

master
Kevin.King-王凯壮 8 months ago
parent
commit
8d4b0a67cc
  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