From 022cf8c6ac5a1e3f95f52cfc0ca6fb612f12fb40 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Tue, 17 Mar 2020 10:07:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../newMap/jointTrainingNew/menuDemon.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/newMap/jointTrainingNew/menuDemon.vue b/src/views/newMap/jointTrainingNew/menuDemon.vue index ea05d5c58..e517bdb22 100644 --- a/src/views/newMap/jointTrainingNew/menuDemon.vue +++ b/src/views/newMap/jointTrainingNew/menuDemon.vue @@ -22,7 +22,7 @@ import QrCode from '@/components/QrCode'; import SetTime from '@/views/display/demon/setTime'; import { runDiagramIsStart, ranAsPlan, runDiagramOver, runDiagramGetTime } from '@/api/simulation'; import { exitFullscreen } from '@/utils/screen'; -import { putJointTrainingSimulationUserNew} from "@/api/jointTraining"; +import { putJointTrainingSimulationUserNew} from '@/api/jointTraining'; import { timeFormat } from '@/utils/date'; import { EventBus } from '@/scripts/event-bus'; import { getSessionStorage } from '@/utils/auth'; @@ -127,14 +127,14 @@ export default { methods: { async initLoadPage() { try { - const resp = await runDiagramIsStart(this.group); - if (resp && resp.data) { - this.isDisable = true; - this.$store.dispatch('training/simulationStart'); - } else { - this.isDisable = false; - this.$store.dispatch('training/over'); - } + // const resp = await runDiagramIsStart(this.group); + // if (resp && resp.data) { + // this.isDisable = true; + // this.$store.dispatch('training/simulationStart'); + // } else { + // this.isDisable = false; + // this.$store.dispatch('training/over'); + // } } catch (error) { console.log(error);