!892 修复:高级封边排钻无法写入问题

pull/892/MERGE v0.6.0
ZoeLeeFZ 5 years ago committed by ChenX
parent ae7aa12cca
commit 973d691b40

@ -43,7 +43,7 @@ export class BoardEdgesEditor
} }
//@重载 //@重载
protected WriteData() protected async WriteData()
{ {
} }
@ -69,7 +69,7 @@ export class BoardEdgesEditor
await app.Editor.ModalManage.EndExecingCmd(); await app.Editor.ModalManage.EndExecingCmd();
TempEditor.End(); TempEditor.End();
if (!cancel) if (!cancel)
this.WriteData(); await this.WriteData();
AppToaster.clear(); AppToaster.clear();
this._brMap.clear(); this._brMap.clear();

@ -78,9 +78,9 @@ export class DrillingStore extends BoardEdgesEditor
} }
} }
protected WriteData() protected async WriteData()
{ {
CommandWrap(() => await CommandWrap(() =>
{ {
for (let [b,] of this._brMap) for (let [b,] of this._brMap)
{ {

@ -80,9 +80,9 @@ export class SealingStore extends BoardEdgesEditor
} }
} }
protected WriteData() protected async WriteData()
{ {
CommandWrap(() => await CommandWrap(() =>
{ {
for (let [b, cus] of this._brMap) for (let [b, cus] of this._brMap)
{ {

Loading…
Cancel
Save