Home > @elux/vue-web > EmptyModel

EmptyModel class

空Model常用于mock假数据

Signature:

export declare class EmptyModel implements CommonModel 

Implements: CommonModel

Constructors

ConstructorModifiersDescription
(constructor)(moduleName, store)Constructs a new instance of the EmptyModel class

Properties

PropertyModifiersTypeDescription
moduleNamestring
stateModuleState
storeIStore

Methods

MethodModifiersDescription
_initState(state)
onActive()
onInactive()
onMount()