fix: 修改全局设置不触发的问题

This commit is contained in:
MTrun
2022-02-21 21:16:44 +08:00
parent b980c79ab4
commit d74fb21c9e
7 changed files with 32 additions and 9 deletions
@@ -10,7 +10,6 @@ export default class Config extends publicConfig implements CreateComponentType
// 图表配置项
public option = echartOptionProfixHandle({
backgroundColor: 'rgba(0,0,0,0)',
tooltip: {
trigger: 'axis',
axisPointer: {
@@ -42,7 +42,7 @@ use([
])
const option = computed(() => {
return merge(props.chartData.option, props.themeSetting)
return merge(props.themeSetting, props.chartData.option)
})
</script>