提交 43e3c7cb 编写于 作者: X xiayifan

UI fix the top row form tensor tables displays incorrectly form

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