Browse Source

!496 UI display timeline detail of profile dashboard

Merge pull request !496 from 黄伟锋/r0.6
tags/v0.6.0-beta
mindspore-ci-bot Gitee 5 years ago
parent
commit
5f86a9f056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindinsight/ui/src/views/train-manage/profiling-dashboard.vue

+ 1
- 1
mindinsight/ui/src/views/train-manage/profiling-dashboard.vue View File

@@ -1009,7 +1009,7 @@ export default {
RequestService.queryTimlineInfo(params) RequestService.queryTimlineInfo(params)
.then((res) => { .then((res) => {
this.timelineInfo.initOver = true; this.timelineInfo.initOver = true;
if (res && res.data && res.data.length) {
if (res && res.data) {
this.timelineInfo.noData = false; this.timelineInfo.noData = false;
this.timelineInfo.totalTime = res.data.total_time.toFixed(4); this.timelineInfo.totalTime = res.data.total_time.toFixed(4);
this.timelineInfo.streamNum = res.data.num_of_streams; this.timelineInfo.streamNum = res.data.num_of_streams;


Loading…
Cancel
Save