From fdb97cca1f302db3fe07cc700130a085d991d682 Mon Sep 17 00:00:00 2001 From: lzhe <lzhe@example.com> Date: 星期三, 19 六月 2024 22:41:49 +0800 Subject: [PATCH] 1 --- src/views/mdc/processParam/index.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/mdc/processParam/index.vue b/src/views/mdc/processParam/index.vue index 379c2f3..1053491 100644 --- a/src/views/mdc/processParam/index.vue +++ b/src/views/mdc/processParam/index.vue @@ -275,8 +275,7 @@ tooltip: { position: ['50%', '50%'] }, - legend: [ - ], + legend: {}, title: { text: '', subtext: '', @@ -353,7 +352,7 @@ tooltip: { show: true, trigger: 'item', - // position: 'dom', + position: 'top', triggerOn: 'click', formatter: (value, ticket) => { // console.log('----------1111') @@ -363,7 +362,7 @@ // return current.format('HH:mm') // return value if (i == 0 || current === 0) return '' - return `${name}:寮�濮嬫椂闂�${moment(data.data[i - 1].time).format('HH:mm')}-${moment(item.time).format('HH:mm')}` + return `${name}:鏃舵${moment(data.data[i - 1].time).format('HH:mm')}-${moment(item.time).format('HH:mm')}` } }, } @@ -378,6 +377,9 @@ // return current.format('HH:mm') // } }, + legend: { + selectedMode: false + }, title: { text: '', subtext: '', -- Gitblit v1.9.3