forked from github/dataease
Merge pull request #3816 from dataease/pr@dev@fix_batch_margin
fix(仪表板): 批量设置echarts视图外间距无效
This commit is contained in:
commit
f51f02a57a
@ -585,6 +585,9 @@ export default {
|
||||
updateParams['customAttr'] = this.sourceCustomAttrStr
|
||||
} else if (param.custom === 'customStyle') {
|
||||
const sourceCustomStyle = JSON.parse(this.sourceCustomStyleStr)
|
||||
if (param.property === 'margin') {
|
||||
sourceCustomStyle[param.property] = param.value
|
||||
}
|
||||
sourceCustomStyle[param.property][param.value.modifyName] = param.value[param.value.modifyName]
|
||||
this.sourceCustomStyleStr = JSON.stringify(sourceCustomStyle)
|
||||
this.chart.customStyle = this.sourceCustomStyleStr
|
||||
|
Loading…
Reference in New Issue
Block a user