Browse Source

Merge pull request #780 from iptop/master

解决echarts和vue存在的冲突问题
main
奇淼(piexlmax 3 years ago
committed by GitHub
parent
commit
3fb158c841
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      web/src/view/dashboard/dashbordCharts/echartsLine.vue

3
web/src/view/dashboard/dashbordCharts/echartsLine.vue

@ -11,6 +11,7 @@
</template>
<script>
import echarts from 'echarts'
import { toRaw } from 'vue'
import 'echarts/theme/macarons'
var dataAxis = []
@ -64,7 +65,7 @@ export default {
this.setOptions()
},
setOptions() {
this.chart.setOption({
toRaw(this.chart).setOption({
grid: {
left: '40',
right: '20',

Loading…
Cancel
Save