diff --git a/mindinsight/ui/src/locales/zh-cn.json b/mindinsight/ui/src/locales/zh-cn.json index 665ef6cdc26402c6a39968c760a5a195f1280b9a..80bf5183c9534fd1dc693eedaac8007ff20f28d3 100644 --- a/mindinsight/ui/src/locales/zh-cn.json +++ b/mindinsight/ui/src/locales/zh-cn.json @@ -49,7 +49,8 @@ "noDataTips": "请点击“显示全量数据”按钮查看全量数据", "userDefined": "自定义数据", "metric": "度量指标", - "deviceNum": "device数目" + "deviceNum": "device数目", + "mixedItemMessage": "该参数含有多种类型数据,无法筛选展示" }, "dataTraceback": { "details": "详情", @@ -67,8 +68,7 @@ "samplingData": "数据抽样", "imagesampleSwitch": "切换标签", "invalidId": "无效的训练作业", - "summaryDirPath": "summary路径:", - "mixedItemMessage": "该参数含有多种类型数据,无法筛选展示" + "summaryDirPath": "summary路径:" }, "scalar": { "titleText": "标量", diff --git a/mindinsight/ui/src/views/train-manage/scalar.vue b/mindinsight/ui/src/views/train-manage/scalar.vue index 32820806a39bf4754fda77c4f8124682e4514565..8fd48ed22ac4027b9af5ca6b1549dee4231a9b80 100644 --- a/mindinsight/ui/src/views/train-manage/scalar.vue +++ b/mindinsight/ui/src/views/train-manage/scalar.vue @@ -244,6 +244,10 @@ export default { clearInterval(this.autoUpdateTimer); this.autoUpdateTimer = null; } + if (this.axisBenchChangeTimer) { + clearTimeout(this.axisBenchChangeTimer); + this.axisBenchChangeTimer = null; + } }, mounted() { // Adding a Listener @@ -642,7 +646,7 @@ export default { }, grid: { left: 80, - right: 10, + right: sampleObject.fullScreen ? 80 : 10, }, animation: true, dataZoom: [