From 41d8635b738f062051ef9b32beb344fd5de99786 Mon Sep 17 00:00:00 2001 From: fan Date: Mon, 19 Sep 2022 17:55:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E5=AE=9E=E8=AE=AD=E6=97=B6?= =?UTF-8?q?=E6=B8=85=E9=99=A4=E5=AE=9E=E8=AE=AD=E5=88=86=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/designPlatform/trainingList.vue | 1 + src/views/trainingManage/trainingList.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/src/views/designPlatform/trainingList.vue b/src/views/designPlatform/trainingList.vue index 0c6857c91..250e38ba4 100644 --- a/src/views/designPlatform/trainingList.vue +++ b/src/views/designPlatform/trainingList.vue @@ -182,6 +182,7 @@ export default { } } this.$store.dispatch('trainingNew/setTrainingDetail', detailResp.data); + this.$store.dispatch('trainingNew/setTrainingScore', ''); await loadPublishTraining(this.group, data.id, {mode: this.teachMode}); this.$message.success('加载实训成功!'); } catch (e) { diff --git a/src/views/trainingManage/trainingList.vue b/src/views/trainingManage/trainingList.vue index 7a51ddb54..6bfe4de52 100644 --- a/src/views/trainingManage/trainingList.vue +++ b/src/views/trainingManage/trainingList.vue @@ -293,6 +293,7 @@ export default { } this.$emit('closeAllDialog'); this.$store.dispatch('trainingNew/setTrainingDetail', detailResp.data); + this.$store.dispatch('trainingNew/setTrainingScore', ''); await loadDraftTraining(this.group, data.id, {mode: this.teachMode}); this.$message.success('加载实训成功!'); } catch (e) {