From b604a5436694791caaafb9653f5910039deafed2 Mon Sep 17 00:00:00 2001 From: ChenX Date: Mon, 27 Apr 2020 08:48:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91:=E6=B8=85=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/UI/Store/DoorDrawerStore/DoorDrawerStore.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/UI/Store/DoorDrawerStore/DoorDrawerStore.ts b/src/UI/Store/DoorDrawerStore/DoorDrawerStore.ts index 44986e673..a8d6fc7ae 100644 --- a/src/UI/Store/DoorDrawerStore/DoorDrawerStore.ts +++ b/src/UI/Store/DoorDrawerStore/DoorDrawerStore.ts @@ -1,15 +1,15 @@ import { Intent } from "@blueprintjs/core"; import { observable, toJS } from "mobx"; import { CheckObjectType, CheckoutValid } from "../../../Common/CheckoutVaildValue"; +import { safeEval } from "../../../Common/eval"; import { Log } from "../../../Common/Log"; import { FixedNotZero } from "../../../Common/Utils"; import { IConfigOption } from "../../Components/Board/UserConfig"; import { INeedUpdateParams } from "../../Components/Template/TemplateComponent"; import { AppToaster } from "../../Components/Toaster"; -import { BoardStore } from "../BoardStore"; -import { IDoorAndDrawerConfigOption, IDrawerInfo, ISelectTempInfo, IDoorInfo } from "../DoorInterface"; import { IUiOption } from "../BoardInterface"; -import { safeEval } from "../../../Common/eval"; +import { BoardStore } from "../BoardStore"; +import { IDoorAndDrawerConfigOption, IDoorConfigOption, IDoorInfo, IDrawerInfo, ISelectTempInfo } from "../DoorInterface"; const DIVRegExpr = /((\d+(\.\d)?)\*)?D(\*\d+(\.\d)?)?/g; @@ -454,7 +454,7 @@ export class DoorDrawerStore extends BoardStore { return CheckoutValid.HasInvailValue(this.UIOption, CheckObjectType.Do); } - protected UpdateDoorDrawerVersionInfo(cof) + protected UpdateDoorDrawerVersionInfo(cof: IConfigOption) { for (let info of cof.doorsInfo) {