This commit is contained in:
fan 2024-02-06 11:07:37 +08:00
commit 93e1f7992c
4 changed files with 42 additions and 48 deletions

View File

@ -207,7 +207,6 @@ export class IbpButtonInteraction extends GraphicInteractionPlugin<IBPButton> {
});
};
bypassResetConfig.handler = () => {
bypassConfig.handler = () => {
if (!simulationId || !mapId) {
return;
}
@ -223,7 +222,6 @@ export class IbpButtonInteraction extends GraphicInteractionPlugin<IBPButton> {
errorNotify('操作失败', { message: err.origin.response.data.title });
});
};
};
IbpButtonMenu.open(e.global);
}
}

View File

@ -155,7 +155,6 @@ export class IbpKeyInteraction extends GraphicInteractionPlugin<IbpKey> {
});
};
bypassResetConfig.handler = () => {
bypassConfig.handler = () => {
if (!simulationId || !mapId) {
return;
}
@ -171,7 +170,6 @@ export class IbpKeyInteraction extends GraphicInteractionPlugin<IbpKey> {
errorNotify('操作失败', { message: err.origin.response.data.title });
});
};
};
IbpKeyMenu.open(e.global);
}
}

View File

@ -233,7 +233,6 @@ export class PslButtonOperateInteraction extends GraphicInteractionPlugin<PslBut
});
};
bypassResetConfig.handler = () => {
bypassConfig.handler = () => {
if (!simulationId || !mapId) {
return;
}
@ -249,7 +248,6 @@ export class PslButtonOperateInteraction extends GraphicInteractionPlugin<PslBut
errorNotify('操作失败', { message: err.origin.response.data.title });
});
};
};
PslButtonMenu.open(e.global);
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 21 KiB