diff --git a/mindinsight/ui/src/views/train-manage/profiling-dashboard.vue b/mindinsight/ui/src/views/train-manage/profiling-dashboard.vue index c4c491b85b7cf18fb0c5124d0728225eac60c339..0880defd3b8f870d85cc2189f07a16671007768f 100644 --- a/mindinsight/ui/src/views/train-manage/profiling-dashboard.vue +++ b/mindinsight/ui/src/views/train-manage/profiling-dashboard.vue @@ -1009,7 +1009,7 @@ export default { RequestService.queryTimlineInfo(params) .then((res) => { this.timelineInfo.initOver = true; - if (res && res.data && res.data.length) { + if (res && res.data) { this.timelineInfo.noData = false; this.timelineInfo.totalTime = res.data.total_time.toFixed(4); this.timelineInfo.streamNum = res.data.num_of_streams;