Merge pull request #11806 from dataease/pr@dev-v2@fix_color-setting

fix(图表): 修复图表设置颜色相关属性时点击非图表组件调色板可能偏移到左上角没有关闭问题
This commit is contained in:
王嘉豪 2024-08-28 12:06:54 +08:00 committed by GitHub
commit 3aa0ff9614
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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(() => {