mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-14 04:43:14 +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) {
|
||||
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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user