提交 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 {
*/
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.
先完成此消息的编辑!
想要评论请 注册