!1124 修复:配置问题

pull/1124/MERGE
ZoeLeeFZ 4 years ago committed by ChenX
parent 1290a1b48e
commit 966dc69c7c

@ -64,7 +64,7 @@ export class BoardStore extends Singleton implements IConfigStore
} }
protected InitDrillType() protected InitDrillType()
{ {
let drilltypes = [...userConfig.DrillConfigs.keys()]; let drilltypes = [...userConfig.DrillConfigs.keys(), "不排"];
if (drilltypes.length > 0) if (drilltypes.length > 0)
{ {
if (!drilltypes.includes(this.m_BoardProcessOption.drillType)) if (!drilltypes.includes(this.m_BoardProcessOption.drillType))
@ -283,6 +283,7 @@ export class TopBottomBoardStore extends BoardStore
newConfig.topBoardData = toJS(this.topBoardOption); newConfig.topBoardData = toJS(this.topBoardOption);
newConfig.bottomBoardData = toJS(this.bottomBoardOption); newConfig.bottomBoardData = toJS(this.bottomBoardOption);
newConfig.processData = this.BoardProcessOption; newConfig.processData = this.BoardProcessOption;
newConfig.autoCutOption = toJS(this.autoCutOption);
newConfig.processData.highDrill = [ newConfig.processData.highDrill = [
this.rectDrillOption.down, this.rectDrillOption.down,
this.rectDrillOption.right, this.rectDrillOption.right,

Loading…
Cancel
Save