Merge remote-tracking branch 'origin/develop' into local-test
All checks were successful
CI / Docker-Build (push) Successful in 2m34s
All checks were successful
CI / Docker-Build (push) Successful in 2m34s
This commit is contained in:
commit
23b727c694
@ -175,6 +175,7 @@ let scene: null | IGraphicScene = null;
|
|||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
const dom = document.getElementById('line-app-container');
|
const dom = document.getElementById('line-app-container');
|
||||||
|
$q.loading.hide();
|
||||||
if (dom && defaultMapId && simulationId) {
|
if (dom && defaultMapId && simulationId) {
|
||||||
lineStore.setMapId(+defaultMapId);
|
lineStore.setMapId(+defaultMapId);
|
||||||
lineStore.setSimulationId(simulationId);
|
lineStore.setSimulationId(simulationId);
|
||||||
|
@ -225,6 +225,9 @@ function onCreate() {
|
|||||||
myForm.value?.validate().then(async (res) => {
|
myForm.value?.validate().then(async (res) => {
|
||||||
if (res) {
|
if (res) {
|
||||||
if (operateDisabled.value) return;
|
if (operateDisabled.value) return;
|
||||||
|
$q.loading.show({
|
||||||
|
delay: 400, // ms
|
||||||
|
});
|
||||||
await startSimulationByProject(+createInfo.id, +createInfo.runConfigId);
|
await startSimulationByProject(+createInfo.id, +createInfo.runConfigId);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -336,6 +339,7 @@ function joinTest(val: SimulationItem) {
|
|||||||
projectId: val.projectId,
|
projectId: val.projectId,
|
||||||
};
|
};
|
||||||
router.push({ path: '/linemap', query });
|
router.push({ path: '/linemap', query });
|
||||||
|
// $q.loading.hide();
|
||||||
}
|
}
|
||||||
function endTest(val: SimulationItem) {
|
function endTest(val: SimulationItem) {
|
||||||
operateDisabled.value = true;
|
operateDisabled.value = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user