|
|
|
@ -2,7 +2,7 @@ import { BoardStore } from "./BoardStore";
|
|
|
|
|
import { IUpdateBoardInfosOption } from "../Components/Board/UpdateBoardInfointerface";
|
|
|
|
|
import { DefaultUpdateInfoOption } from "../../Editor/DefaultConfig";
|
|
|
|
|
import { observable, toJS, action } from "mobx";
|
|
|
|
|
import { LinesType, FaceDirection } from "./BoardInterface";
|
|
|
|
|
import { LinesType, FaceDirection, DrillType } from "./BoardInterface";
|
|
|
|
|
import { IConfigOption } from "../Components/Board/UserConfig";
|
|
|
|
|
import { userConfig } from "../../Editor/UserConfig";
|
|
|
|
|
|
|
|
|
@ -52,8 +52,11 @@ export class UpdateBoardInfosStore extends BoardStore
|
|
|
|
|
break;
|
|
|
|
|
case "底板":
|
|
|
|
|
case "层板":
|
|
|
|
|
option.bigHoleDir = FaceDirection.Back;
|
|
|
|
|
break;
|
|
|
|
|
case "收口条":
|
|
|
|
|
option.bigHoleDir = FaceDirection.Back;
|
|
|
|
|
option.drillType = DrillType.None;
|
|
|
|
|
default:
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|