fix:修复背景图设置问题

main
liu.shiyi 2 years ago
parent 265ea8123a
commit e00635e0c5

@ -321,7 +321,7 @@ export default {
return this.form.customTheme === 'light' ? 'lightBgColor' : 'bgColor'
},
currentBg () {
return this.form.customTheme === 'light' ? 'lightBgColor' : 'bg'
return this.form.customTheme === 'light' ? 'lightBg' : 'bg'
},
dsValue () {
return this.form.cacheDataSets?.map(dSet => ({

@ -475,7 +475,7 @@ const setting = [
value: '#d0d0d0',
tabName: 'custom',
groupName: 'yAxis'
},
}
// 边距 padding
]
@ -517,6 +517,7 @@ const option = {
yField: 'scales',
smooth: false,
startOnZero: true,
isStack: false,
areaStyle: {
fill: 'l(0) 0:#3e5bdb 1:#3e5bdb'
},

@ -484,6 +484,7 @@ const option = {
yField: 'scales',
smooth: false,
startOnZero: true,
isStack: false,
areaStyle: {
fill: 'l(270) 0:#ffffff 1:#1890ff'
},

Loading…
Cancel
Save