diff --git a/mindinsight/ui/src/locales/en-us.json b/mindinsight/ui/src/locales/en-us.json index 13c5df4e9fd52d8fc0d814fa19f834261dd4492c..e912222f2af785cf7ff3d083974ad4f161c42a6b 100644 --- a/mindinsight/ui/src/locales/en-us.json +++ b/mindinsight/ui/src/locales/en-us.json @@ -49,9 +49,7 @@ "dataTraceback": "Dataset Lineage", "comparePlate": "Comparison Dashboard", "disableProfilerTip": "Failed to view profiling because no profiler log is available.", - "hardwareVisual": "Hardware Resources", - "paramDetails": "Parameter Details", - "trainingParamDetails": "Training Parameter Details(Directory)" + "hardwareVisual": "Hardware Resources" }, "modelTraceback": { "summaryPath": "Summary Path", diff --git a/mindinsight/ui/src/locales/zh-cn.json b/mindinsight/ui/src/locales/zh-cn.json index 9da74ee31b6aca2830b64854baab39b3d0b96014..a11ba2e915291128005d06dc3b192ad9d17a75dd 100644 --- a/mindinsight/ui/src/locales/zh-cn.json +++ b/mindinsight/ui/src/locales/zh-cn.json @@ -1,6 +1,6 @@ { "public": { - "netWorkError": "网络或后台错误,请检查。", + "netWorkError": "网络或后端服务错误,请检查。", "browserWarning": "您当前的浏览器可能导致部分功能失效或不可使用,建议使用Chrome 65版本以上的浏览器。", "timeout": "超时,请重新请求。", "noData": "暂无数据", diff --git a/mindinsight/ui/src/main.js b/mindinsight/ui/src/main.js index d63a48d00dd122860fac71f8eb9d2a3839f8e137..121b8c2c942eee33fdbcbf1a72e9671eec32b237 100644 --- a/mindinsight/ui/src/main.js +++ b/mindinsight/ui/src/main.js @@ -23,8 +23,8 @@ import './assets/css/element.css'; import './assets/css/reset.scss'; import i18n from './i18n'; import $ from 'jquery'; -import locale from '../node_modules/element-ui/lib/locale/lang/en'; -import localezh from '../node_modules/element-ui/lib/locale/lang/zh-CN'; +import locale from 'element-ui/lib/locale/lang/en'; +import localezh from 'element-ui/lib/locale/lang/zh-CN'; if ( localStorage.getItem('milang') && diff --git a/mindinsight/ui/src/views/train-manage/data-process.vue b/mindinsight/ui/src/views/train-manage/data-process.vue index eda2d88f66fe2817a85bd73b5c84d1f637a72637..223bb8c6607e6e295dec765556205637caad697b 100644 --- a/mindinsight/ui/src/views/train-manage/data-process.vue +++ b/mindinsight/ui/src/views/train-manage/data-process.vue @@ -417,7 +417,8 @@ export default { } else { this.queryAverageRate(); } - } else { + } + if (newValue.initOver) { this.connectQueueChart.initOver = true; this.dataQueueChart.initOver = true; this.deviceQueueOpChart.initOver = true; diff --git a/mindinsight/ui/src/views/train-manage/operator.vue b/mindinsight/ui/src/views/train-manage/operator.vue index d2c8145ff1ff83a928d29b5a958d77ff629ac61b..307d51f75160cd5c80a02c1029d943d8cf309855 100644 --- a/mindinsight/ui/src/views/train-manage/operator.vue +++ b/mindinsight/ui/src/views/train-manage/operator.vue @@ -337,7 +337,8 @@ export default { this.currentCard = newValue.curCardNum; this.initOver = false; this.cardChange(); - } else { + } + if (newValue.initOver) { this.initOver = true; } }, diff --git a/mindinsight/ui/src/views/train-manage/profiling-dashboard.vue b/mindinsight/ui/src/views/train-manage/profiling-dashboard.vue index dafd4830b6572b219e9ac6e1a4977a46012da719..3912500a3bb5e5a5609782ad215b1652158fc8f6 100644 --- a/mindinsight/ui/src/views/train-manage/profiling-dashboard.vue +++ b/mindinsight/ui/src/views/train-manage/profiling-dashboard.vue @@ -477,7 +477,7 @@ export default { // Monitor current card information '$parent.curDashboardInfo': { handler(newValue, oldValue) { - if (newValue.curCardNum === '') { + if (newValue.initOver) { this.pieChart.noData = true; this.svg.noData = true; this.svg.initOver = true; @@ -485,7 +485,7 @@ export default { this.timelineInfo.initOver = true; this.processSummary.initOver = true; } - if (newValue.query.dir && newValue.query.id && newValue.query.path) { + if (newValue.query.dir && newValue.query.id && newValue.query.path && newValue.curCardNum) { this.summaryPath = newValue.query.dir; this.trainingJobId = newValue.query.id; this.relativePath = newValue.query.path; diff --git a/mindinsight/ui/src/views/train-manage/profiling.vue b/mindinsight/ui/src/views/train-manage/profiling.vue index 62deb39cd2ea40dce2cf85f734d5788069c04768..d593bafdb1b8d2b1ee50984b4fc5f04d068ad906 100644 --- a/mindinsight/ui/src/views/train-manage/profiling.vue +++ b/mindinsight/ui/src/views/train-manage/profiling.vue @@ -77,6 +77,7 @@ export default { // Current Select card info curCardNum: '', query: {}, + initOver: false, }, }; }, @@ -137,7 +138,9 @@ export default { this.curDashboardInfo.curCardNum = ''; } }) - .catch(() => {}); + .catch(() => { + this.curDashboardInfo.initOver = true; + }); }, /** * Get profile helper data diff --git a/mindinsight/ui/src/views/train-manage/step-trace.vue b/mindinsight/ui/src/views/train-manage/step-trace.vue index 66f55bebde623238a775b8531dde048ab7ac6549..f4d2624e3dde4d3e53b9d0bd7e16679bb5fa9017 100644 --- a/mindinsight/ui/src/views/train-manage/step-trace.vue +++ b/mindinsight/ui/src/views/train-manage/step-trace.vue @@ -246,7 +246,8 @@ export default { val.initOver = false; }); this.init(); - } else { + } + if (newValue.initOver) { this.svg.initOver = true; this.tabsArr.forEach((val) => { val.initOver = true;