mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 14:38:51 +00:00
fix: reloadThirdDataSource
This commit is contained in:
parent
7458ca82f1
commit
805a91f226
@ -325,7 +325,7 @@ export class CollectionManagerV2 {
|
||||
this.initDataSourceMap();
|
||||
|
||||
data.forEach(({ key, collections, ...others }) => {
|
||||
this.dataSourceMap[key] = { ...others, name };
|
||||
this.dataSourceMap[key] = { ...others, key };
|
||||
this.setCollections(collections, { dataSource: key });
|
||||
this.reloadCallbacks[key]?.forEach((cb) => cb(collections));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user