仿真状态提示调整
This commit is contained in:
parent
7f598e209c
commit
3bdff0950c
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user