提交 7811d5d9 编写于 作者: W WeiFeng-mindinsight

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

上级 1ef22055
......@@ -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.
先完成此消息的编辑!
想要评论请 注册