mirror of
https://github.com/dataease/dataease.git
synced 2026-05-17 15:00:59 +08:00
Merge pull request #3877 from dataease/pr@dev@fix_batch_style
fix(视图): 批量地图组件悬浮设置对存量地图无效
This commit is contained in:
@@ -574,6 +574,9 @@ export default {
|
||||
const updateParams = { 'id': this.chart.id }
|
||||
if (param.custom === 'customAttr') {
|
||||
const sourceCustomAttr = JSON.parse(this.sourceCustomAttrStr)
|
||||
if (!sourceCustomAttr[param.property]) {
|
||||
this.$set(sourceCustomAttr, param.property, {})
|
||||
}
|
||||
sourceCustomAttr[param.property][param.value.modifyName] = param.value[param.value.modifyName]
|
||||
this.sourceCustomAttrStr = JSON.stringify(sourceCustomAttr)
|
||||
this.chart.customAttr = this.sourceCustomAttrStr
|
||||
|
||||
Reference in New Issue
Block a user