Commit 4f976c5e by 胡悦

提交

1 parent 9c0a3b06
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-30 17:50:45
* @LastEditTime: 2022-06-30 18:16:03
-->
<template>
<div>
......@@ -147,8 +147,8 @@ export default {
bottom: 8,
width: '100%',
min: 0,
max: 100,
minSize: '30%',
// max: 10000,
minSize: '25%',
maxSize: '100%',
sort: 'descending',
gap: 2,
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-30 17:50:59
* @LastEditTime: 2022-06-30 18:04:44
-->
<template>
<div>
......@@ -36,6 +36,9 @@ export default {
},
mounted() {
this.echartsTrend = echarts.init(document.getElementById('lineTrend'))
window.addEventListener('resize', () => {
this.echartsTrend.resize()
})
},
methods: {
init(val) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!