From 1b22a853081d11c6d533c512a4a3c82e16732f8e Mon Sep 17 00:00:00 2001 From: wwx691809 Date: Thu, 20 Aug 2020 19:33:59 +0800 Subject: [PATCH] After an error is reported on the page, the status of the summary check is not clear --- mindinsight/ui/src/views/train-manage/compare-plate.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mindinsight/ui/src/views/train-manage/compare-plate.vue b/mindinsight/ui/src/views/train-manage/compare-plate.vue index 3a6e0c1..6d1669c 100644 --- a/mindinsight/ui/src/views/train-manage/compare-plate.vue +++ b/mindinsight/ui/src/views/train-manage/compare-plate.vue @@ -394,10 +394,9 @@ export default { this.trainJobsCaches(); } }); - }, this.requestErrorCallback) + }) .catch((e) => { - this.initOver = true; - this.$message.error(this.$t('public.dataError')); + this.requestErrorCallback(e); }); }, @@ -1324,7 +1323,7 @@ export default { summaryColor = CommonProperty.commonColorArr[colorIndex]; this.summaryOperateList.push({ label: summaryObj.train_id, - checked: false, + checked: true, show: false, color: summaryColor, colorIndex: colorIndex, -- GitLab