mirror of
https://github.com/motajs/template.git
synced 2026-11-10 13:04:30 +08:00
refactor: 地图前半部分
This commit is contained in:
1 parent
b3ac1d2164
commit
bbdea04393
9 files changed
+109
-152
No files matched your search
@@ -3,10 +3,6 @@ import { ICoreStateCoreConfig } from '../common';
|
||||
import { IMotaDataLoader, IMotaDataLoaderHooks } from './types';
|
||||
|
||||
export class DefaultDataLoaderHook implements IMotaDataLoaderHooks {
|
||||
awake(): void {}
|
||||
|
||||
destroy(): void {}
|
||||
|
||||
onCoreConfigLoaded(loader: IMotaDataLoader): Promise<void> {
|
||||
const coreConfig = loader.getConfig<ICoreStateCoreConfig>('core');
|
||||
if (!coreConfig) {
|
||||
|
||||
Reference in new issue
Block a user