修改bug

This commit is contained in:
‘937886381’
2024-04-03 16:34:15 +08:00
parent 1bbd749094
commit a6ffba4cf8
2 changed files with 5 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2022-01-21 14:43:06
* @LastEditors: zhp
* @LastEditTime: 2024-03-29 14:50:50
* @LastEditTime: 2024-04-03 16:33:24
* @Description:
-->
<template>
@@ -85,7 +85,6 @@ export default {
defaultConfig: {
// 默认的legend配置
legend: {
orient: 'vertical',
left: '75%',
bottom: 0,
itemHeight: 10,
@@ -197,7 +196,7 @@ export default {
// 默认配置
...this.defaultConfig.legend,
// 外部传入配置
...this.legendConfig
// ...this.legendConfig
},
color: this.barColor,
series: [