提交 9a63a44d 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!426 UI fix bug of data map that the attribute of selected node display empty when it is null

Merge pull request !426 from 黄伟锋/master
......@@ -172,7 +172,9 @@ export default {
return;
}
this.trainJobID = this.$route.query.train_id;
document.title = `${decodeURIComponent(this.trainJobID)}-${this.$t('trainingDashboard.dataMap')}-MindInsight`;
document.title = `${decodeURIComponent(this.trainJobID)}-${this.$t(
'trainingDashboard.dataMap',
)}-MindInsight`;
this.$nextTick(() => {
this.queryGraphData();
});
......@@ -554,6 +556,8 @@ export default {
const value =
select[item] instanceof Array
? select[item].join(', ')
: select[item] === null
? 'None'
: select[item];
this.selectedNode.push({key: item, value: value});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册