仿真状态提示调整

This commit is contained in:
fan 2024-01-23 13:04:35 +08:00
parent 7f598e209c
commit 3bdff0950c

View File

@ -332,9 +332,20 @@ watch(
val.state == state.SimulationStatus.SimulationState.DESTROY
) {
$q.dialog({
title: '确认',
message: `${projectName.value}】项目仿真已经结束,是否确认退出?`,
cancel: true,
title: '提示',
message: `${projectName.value}】项目仿真已经结束,请确认退出!`,
cancel: false,
}).onOk(() => {
backConfirm();
});
} else if (
val.simulationId == simulationId &&
val.state === state.SimulationStatus.SimulationState.ERROR
) {
$q.dialog({
title: '提示',
message: `${projectName.value}】项目仿真异常,请确认退出!`,
cancel: false,
}).onOk(() => {
backConfirm();
});