fix: 更改echarts引入方式解决警告问题
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import echarts from 'echarts';
|
||||
import * as echarts from 'echarts';
|
||||
import chartBox from "../../../page/dashboard/chartBox";
|
||||
import axios from 'axios';
|
||||
import loading from "../../loading";
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
|
||||
<script>
|
||||
import chartConfig from '../../../page/dashboard/overview/chartConfig';
|
||||
import echarts from "echarts";
|
||||
import * as echarts from "echarts";
|
||||
|
||||
var endpointChart;
|
||||
var assetChart;
|
||||
|
||||
@@ -133,7 +133,7 @@
|
||||
</template>
|
||||
<script>
|
||||
import axios from 'axios';
|
||||
import echarts from 'echarts';
|
||||
import * as echarts from 'echarts';
|
||||
import bus from '@/libs/bus';
|
||||
import loading from "@/components/common/loading";
|
||||
import chartDataFormat from '@/components/charts/chartDataFormat'
|
||||
|
||||
13
nezha-fronted/src/components/common/searchInput2.vue
Normal file
13
nezha-fronted/src/components/common/searchInput2.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "searchInput2"
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user