Home > @elux/vue-web > BaseModel > onMount

BaseModel.onMount() method

被挂载到store时触发

Signature:

abstract onMount(env: 'init' | 'route' | 'update'): void | Promise<void>;

Parameters

ParameterTypeDescription
env'init' | 'route' | 'update'

Returns:

void | Promise<void>