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) {