chore: 构建测试
parent
140a750fc1
commit
d5e6f9c1f6
|
@ -8,6 +8,5 @@
|
|||
*/
|
||||
import { render } from '@cmp/cmp-core/render'
|
||||
import qiankunRender from '@cmp/cmp-core/qiankunRender'
|
||||
import * as echarts from 'echarts/core'
|
||||
console.log(echarts)
|
||||
|
||||
export const { bootstrap, mount, unmount } = qiankunRender(render)
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
<script>
|
||||
import { computed } from 'vue'
|
||||
import useEchart, { commonProps } from '@cmp/cmp-echarts/hooks/useChart'
|
||||
import echarts from '@cmp/cmp-echarts/hooks/echarts'
|
||||
import { merge } from 'lodash-es'
|
||||
import * as echarts from 'echarts/core'
|
||||
import { DataZoomComponent } from 'echarts/components'
|
||||
echarts.use([DataZoomComponent])
|
||||
export default {
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
import { render } from '@cmp/cmp-core/render'
|
||||
import qiankunRender from '@cmp/cmp-core/qiankunRender'
|
||||
|
||||
import * as echarts from 'echarts/core'
|
||||
import echarts from '@cmp/cmp-echarts/hooks/echarts'
|
||||
console.log(echarts)
|
||||
export const { bootstrap, mount, unmount } = qiankunRender(render)
|
||||
|
|
|
@ -21,7 +21,7 @@ import { ref } from 'vue'
|
|||
import LineCharts from './echarts/LineCharts.vue'
|
||||
import ItemCard from './ItemCard.vue'
|
||||
import { getAlarmChart } from 'services/monitor/index'
|
||||
import * as echarts from 'echarts/core'
|
||||
import echarts from '@cmp/cmp-echarts/hooks/echarts'
|
||||
export const colorMap = ['rgba(255, 0, 0, 1)', 'rgba(245, 167, 45, 1)', 'rgba(18, 185, 242, 1)', 'rgba(24, 144, 255, 1)']
|
||||
const chartSetting = {
|
||||
color: colorMap,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
import { computed } from 'vue'
|
||||
import useEchart, { commonProps } from '@cmp/cmp-echarts/hooks/useChart'
|
||||
import { merge } from 'lodash-es'
|
||||
import * as echarts from 'echarts/core'
|
||||
import echarts from '@cmp/cmp-echarts/hooks/echarts'
|
||||
import 排名1 from '../images/排名 1.png'
|
||||
import 排名2 from '../images/排名 2.png'
|
||||
import 排名3 from '../images/排名 3.png'
|
||||
|
|
Loading…
Reference in New Issue