fix(图表): 修复图表设置颜色相关属性时点击非图表组件调色板可能偏移到左上角没有关闭问题

This commit is contained in:
wangjiahao 2024-08-28 12:06:05 +08:00
parent 45f70a54c2
commit a29f7faa8f

View File

@ -271,7 +271,11 @@ const getFields = (id, chartId, type) => {
}
const chartStyleShow = computed(() => {
return view.value.type !== 'richText'
return (
view.value.type !== 'richText' &&
curComponent.value &&
curComponent.value.component === 'UserView'
)
})
const chartViewInstance = computed(() => {