Browse Source

无jira任务 fix: store方法不能定位到model中

master
Deep 4 years ago
parent
commit
c3023a9acc
  1. 2
      typescript/core/decorator/decorator.ts

2
typescript/core/decorator/decorator.ts

@ -100,7 +100,7 @@ export class Model<U extends {types?: {[key: string]: unknown} | {}, context?: R
context: U["context"];
actions:{[key: string]: (...args: any[]) => any};
actions:{[key: string]: (...args: any[]) => any} | {};
childContext: ReadonlyArray<keyof (this["computed"] & ReturnType<this["state"]>)>;

Loading…
Cancel
Save