diff --git a/mindinsight/ui/src/views/train-manage/operator.vue b/mindinsight/ui/src/views/train-manage/operator.vue index 4ea75a5519ceb681aa49a98e964b9d792d7d13cf..504d1f5f2d1212a04f85c643b78c8727ec398df3 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 {