Commit d974d9e8 authored by Jenny's avatar Jenny

feat: 配置全局数据修改

parent 8e70f7dc
......@@ -41,10 +41,11 @@ export default {
if (!this.globalData) return
const { dataProcessing } = { ...value }
if (dataProcessing) {
elementData.value.dataList = this.$u.common.converFunction(dataProcessing, JSON.parse(this.globalData))
return false
this.elementData.dataList = this.$u.common.converFunction(dataProcessing, JSON.parse(this.globalData))
} else {
this.elementData.dataList = JSON.parse(this.globalData)
}
elementData.value.dataList = JSON.parse(this.globalData)
this.initChart()
},
/**
* 配置数据 - 数据集
......@@ -112,7 +113,6 @@ export default {
* 全局数据更新监测
*/
globalData () {
console.log('----globalData----', this.globalData)
if (this.elementInfo.data.dataType === 'public') this.handlePublicData(this.elementInfo.data)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment