From a2aff02f0010df2197e650d0aaeb2e403b22b03a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=8A=B2=E6=9D=BE?= Date: Mon, 1 Feb 2021 11:11:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=94=B9echarts=E5=BC=95?= =?UTF-8?q?=E5=85=A5=E6=96=B9=E5=BC=8F=E8=A7=A3=E5=86=B3=E8=AD=A6=E5=91=8A?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/charts/chart-detail.vue | 2 +- .../common/bottomBox/tabs/endpointQueryTab.vue | 2 +- .../src/components/common/project/popData/Main.vue | 2 +- .../components/common/project/popData/lineChart.vue | 2 +- .../src/components/common/searchInput2.vue | 13 +++++++++++++ .../page/dashboard/overview/overview2.vue | 2 +- 6 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 nezha-fronted/src/components/common/searchInput2.vue diff --git a/nezha-fronted/src/components/charts/chart-detail.vue b/nezha-fronted/src/components/charts/chart-detail.vue index c38657a87..68ffd25a5 100644 --- a/nezha-fronted/src/components/charts/chart-detail.vue +++ b/nezha-fronted/src/components/charts/chart-detail.vue @@ -266,7 +266,7 @@ import loading from "../common/loading"; import timePicker from '../common/timePicker'; import chartPreview from './chartPreview'; - import echarts from 'echarts'; + import * as echarts from 'echarts'; import nzAlertTag from '../page/alert/nzAlertTag'; import bus from '../../libs/bus'; diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue index 4bd95049e..71b4476a9 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue @@ -124,7 +124,7 @@ + + diff --git a/nezha-fronted/src/components/page/dashboard/overview/overview2.vue b/nezha-fronted/src/components/page/dashboard/overview/overview2.vue index afd1a30a0..ba6083981 100644 --- a/nezha-fronted/src/components/page/dashboard/overview/overview2.vue +++ b/nezha-fronted/src/components/page/dashboard/overview/overview2.vue @@ -236,7 +236,7 @@ import * as L from 'leaflet' import icon from 'leaflet/dist/images/marker-icon.png'; import iconShadow from 'leaflet/dist/images/marker-shadow.png'; - import echarts from "echarts"; + import * as echarts from "echarts"; import chartConfig from './chartConfig' import overViewTopology from '../../../common/project/overViewTopology' import messageAsset from '../../../common/overView/messageAsset'