feat:修复数据标签显隐问题

main
liu.shiyi 2 years ago
parent 543cacc6ab
commit 65c8840f50

@ -52,7 +52,7 @@ const setting = [
groupName: 'graph'
},
{
label: '背景图url',
label: '背景图URL',
// 设置组件类型
type: 'input',
// 字段

@ -94,8 +94,8 @@ const option = {
autoFit: true,
percent: 0.8,
barWidthRatio: 0.3,
backColor: '#fff',
frontColor: '#4a7af4',
backColor: '#EEEEEE',
frontColor: '#4391F4',
color: ['#4a7af4', '#fff'],
progressStyle: {
current: {

@ -125,7 +125,7 @@ export default {
optionField.forEach((field, index) => {
if (index === optionField.length - 1) {
//
if (set.tabName === type && set.value) {
if ((set.tabName === type && type === 'data' && set.value) || (set.tabName === type && type === 'custom')) {
option[field] = set.value
}
} else {

Loading…
Cancel
Save