mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-14 13:03:07 +00:00
fix: add unique key
This commit is contained in:
parent
edf14c1bc6
commit
e48307dc6d
@ -66,7 +66,11 @@ export default abstract class Provider {
|
|||||||
if (!pageId) {
|
if (!pageId) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return createElement(LazyComponent as any, { getPageData: async () => await this.getPageData(pageId), ...props });
|
return createElement(LazyComponent as any, {
|
||||||
|
getPageData: async () => await this.getPageData(pageId),
|
||||||
|
key: pageId,
|
||||||
|
...props,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public createApp() {
|
public createApp() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user