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

!597 AI CPU Optimization: support type and all tab

Merge pull request !597 from 潘慧/master_ph
...@@ -1152,17 +1152,18 @@ export default { ...@@ -1152,17 +1152,18 @@ export default {
margin-right: 20px; margin-right: 20px;
} }
.cl-profiler-top { .cl-profiler-top {
height: 45%; height: 47%;
.chart-title { .chart-title {
float: left; float: left;
font-weight: bold; font-weight: bold;
height: 32px;
} }
} }
.cl-profiler-top.fullScreen { .cl-profiler-top.fullScreen {
display: none; display: none;
} }
.cl-profiler-bottom { .cl-profiler-bottom {
height: 55%; height: 53%;
padding-top: 10px; padding-top: 10px;
.fullScreen { .fullScreen {
float: right; float: right;
...@@ -1189,16 +1190,16 @@ export default { ...@@ -1189,16 +1190,16 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
min-width: 1300px; min-width: 1300px;
min-height: 306px; min-height: 321px;
overflow: hidden; overflow: hidden;
} }
} }
.core-tab { .core-tab {
.cl-profiler-top { .cl-profiler-top {
height: 45%; height: 47%;
} }
.cl-profiler-bottom { .cl-profiler-bottom {
height: 55%; height: 53%;
} }
.cl-profiler-echarts { .cl-profiler-echarts {
height: calc(100% - 32px); height: calc(100% - 32px);
......
...@@ -430,9 +430,7 @@ export default { ...@@ -430,9 +430,7 @@ export default {
RequestService.queryTimeline(params) RequestService.queryTimeline(params)
.then((res) => { .then((res) => {
if (res && res.data && res.data.length) { if (res && res.data && res.data.length) {
this.timeLine.data = this.stringToUint8Array( this.timeLine.data = JSON.stringify(res.data);
JSON.stringify(res.data),
);
this.timeLine.waiting = false; this.timeLine.waiting = false;
} }
}) })
......
...@@ -1142,9 +1142,7 @@ export default { ...@@ -1142,9 +1142,7 @@ export default {
RequestService.queryTimeline(params) RequestService.queryTimeline(params)
.then((res) => { .then((res) => {
if (res && res.data && res.data.length) { if (res && res.data && res.data.length) {
this.timeLine.data = this.stringToUint8Array( this.timeLine.data = JSON.stringify(res.data);
JSON.stringify(res.data),
);
this.timeLine.waiting = false; this.timeLine.waiting = false;
} }
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册