From cf2e811f57cba9a5964c0cc341aa92f4e0d16c9f Mon Sep 17 00:00:00 2001 From: fengxuefeng Date: Mon, 20 Jul 2020 11:53:03 +0800 Subject: [PATCH] Modify the bug of operator full screen display --- .../ui/src/views/train-manage/operator.vue | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/mindinsight/ui/src/views/train-manage/operator.vue b/mindinsight/ui/src/views/train-manage/operator.vue index 4ea75a55..504d1f5f 100644 --- a/mindinsight/ui/src/views/train-manage/operator.vue +++ b/mindinsight/ui/src/views/train-manage/operator.vue @@ -55,7 +55,7 @@ limitations under the License. + @click="fullScreenControl()">
+ :label="ele==='avg_execution_time'?`${ele} (${$t('profiling.unit')})`:ele"> { + this.coreCharts.chartDom.resize(); + }); + } + }, /** * Current device change */ @@ -1119,19 +1127,19 @@ export default { .cl-profiler-top { height: 45%; } - .cl-profiler-top.fullScreen{ + .cl-profiler-top.fullScreen { display: none; } .cl-profiler-bottom { height: 55%; padding-top: 10px; - .fullScreen{ + .fullScreen { float: right; margin-top: 5px; cursor: pointer; } } - .cl-profiler-bottom.fullScreen{ + .cl-profiler-bottom.fullScreen { height: 100%; } .cpu-tab {