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

!509 Data tracing issue was modified. If the value of the object popup is...

!509 Data tracing issue was modified. If the value of the object popup is null, modify it to display None in the popup table
Merge pull request !509 from 秦君艳/datatrack
...@@ -1914,7 +1914,11 @@ export default { ...@@ -1914,7 +1914,11 @@ export default {
Object.keys(dataObj[key]).forEach((k, j) => { Object.keys(dataObj[key]).forEach((k, j) => {
const item = {}; const item = {};
item.key = k; item.key = k;
item.value = dataObj[key][k]; if (dataObj[key][k] === null) {
item.value = 'None';
} else {
item.value = dataObj[key][k];
}
item.id = item.id =
`${new Date().getTime()}` + `${this.$store.state.tableId}`; `${new Date().getTime()}` + `${this.$store.state.tableId}`;
this.$store.commit('increaseTableId'); this.$store.commit('increaseTableId');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册