From 5c2d70b64d73d06a6ea868d4f4d3213701d6eedb Mon Sep 17 00:00:00 2001 From: Deep Date: Tue, 3 Aug 2021 11:04:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20fix:=20?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3model=E7=B1=BB=E5=9E=8B=EF=BC=8C=E4=BD=BFctrl?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=8F=AF=E4=BB=A5=E5=AF=BC=E8=88=AA=E5=88=B0?= =?UTF-8?q?=E5=AF=B9=E5=BA=94=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/decorator/decorator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/core/decorator/decorator.ts b/typescript/core/decorator/decorator.ts index 3559f5cd1..bc5db42bf 100644 --- a/typescript/core/decorator/decorator.ts +++ b/typescript/core/decorator/decorator.ts @@ -90,7 +90,7 @@ export function mixins(...Mixins: ({ new (...args: any[]): {} } & { xtype: strin */ export class Model} = {}> extends Fix.Model { // @ts-ignore this["computed"][key]为空 - model: Pick<{[key in keyof U["types"]]: U["types"][key]}, U["context"][number]> & {[key in keyof ReturnType]: ReturnType[key]} & {[key in keyof this["computed"]]: ReturnType}; + model: Pick<{[key in keyof U["types"]]: U["types"][key]}, U["context"][number]> & ReturnType & {[key in keyof this["computed"]]: ReturnType}; store: this["actions"];