|
|
|
@ -3,6 +3,7 @@ import { ILatticeOption, ELatticeArrayType } from "./LatticeInterface";
|
|
|
|
|
import { observable, toJS } from "mobx";
|
|
|
|
|
import { IConfigOption } from "../Components/Board/UserConfig";
|
|
|
|
|
import { DataAdapter } from "../../Common/DataAdapter";
|
|
|
|
|
import { CheckoutValid, CheckObjectType } from "../../Common/CheckoutVaildValue";
|
|
|
|
|
|
|
|
|
|
export class LatticeDrawerStore extends BoardStore
|
|
|
|
|
{
|
|
|
|
@ -41,4 +42,8 @@ export class LatticeDrawerStore extends BoardStore
|
|
|
|
|
if (this.m_UiOption)
|
|
|
|
|
Object.assign(this.m_UiOption, DataAdapter.ConvertUIData(cof.option));
|
|
|
|
|
}
|
|
|
|
|
HasInvailValue()
|
|
|
|
|
{
|
|
|
|
|
return CheckoutValid.HasInvailValue(this.UIOption, CheckObjectType.Lat)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|