@easy-page/core
Advanced tools
Comparing version 0.1.2 to 0.1.6
@@ -46,8 +46,8 @@ export interface Empty { | ||
action: EffectActionHandlerType<FieldType, PageState, PageProps, EffectedResultType>; | ||
/** 是否初次进入时运行 action, 默认不运行,若多个 action 设置 initRun, 只执行数组最前面的那一个 */ | ||
initRun?: boolean; | ||
effectedKeys: EffectKeys<PageState, PageProps>; | ||
/** 若不传 effectedKeys 或者为空,则在组件挂载时执行一次 */ | ||
effectedKeys?: EffectKeys<PageState, PageProps>; | ||
}; | ||
export type WhenType<FieldType, PageState = Record<string, unknown>, PageProps = Record<string, unknown>> = { | ||
effectedKeys: EffectKeys<PageState, PageProps>; | ||
/** 若不传,则只会在首次加载时执行一次 */ | ||
effectedKeys?: EffectKeys<PageState, PageProps>; | ||
/** 是否禁用初次进入时运行 when, 默认不禁用 */ | ||
@@ -54,0 +54,0 @@ disableInitRun?: boolean; |
{ | ||
"name": "@easy-page/core", | ||
"version": "0.1.2", | ||
"version": "0.1.6", | ||
"dependencies": {}, | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
35196