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

!479 UI fix table display when toggle full-screen with autoupdate open in tensor page

Merge pull request !479 from 夏易凡/r0.6
......@@ -296,7 +296,9 @@ export default {
*/
accuracyChange(value) {
this.formateGridArray();
this.updateGrid();
if (!this.requestError && !this.incorrectData) {
this.updateGrid();
}
},
/**
* Dimension selection changed
......@@ -369,7 +371,9 @@ export default {
}
this.formateGridArray();
this.formateColumnsData();
this.updateGrid();
if (!this.incorrectData) {
this.updateGrid();
}
});
},
/**
......
......@@ -395,7 +395,7 @@
"allCpu": "CPU-总计:",
"chipNameTip": "芯片名称",
"deviceIdTip": "芯片号",
"availableTip": "芯片是否空闲(仅供参考)",
"availableTip": "芯片是否空闲",
"healthTip": "芯片健康指数",
"ipTip": "芯片IP地址",
"aicoreTip": "芯片利用率",
......
......@@ -707,13 +707,14 @@ export default {
this.$nextTick(() => {
elementItem = this.$refs[sampleItem.ref];
if (elementItem) {
elementItem[0].updateGridData();
if (showLimitError) {
elementItem[0].showRequestErrorMessage(
errorMsg,
sampleItem.formateData.value.dims,
sampleItem.filterStr,
);
} else {
elementItem[0].updateGridData();
}
}
});
......
......@@ -990,9 +990,10 @@ export default {
this.$nextTick(() => {
const elementItem = this.$refs.tensorChart;
if (elementItem) {
elementItem.updateGridData();
if (showLimitError) {
elementItem.showRequestErrorMessage(errorMsg);
} else {
elementItem.updateGridData();
}
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册