feat(数据大屏): 大屏的图片组件支持背景设置 #11582

This commit is contained in:
wangjiahao 2024-08-23 15:51:06 +08:00
parent d879695dd2
commit 66a8c07776

View File

@ -117,9 +117,7 @@ const backgroundCustomShow = computed(() => {
return ( return (
dashboardActive.value || dashboardActive.value ||
(!dashboardActive.value && (!dashboardActive.value &&
!['CanvasBoard', 'CanvasIcon', 'Picture', 'CircleShape', 'RectShape'].includes( !['CanvasBoard', 'CanvasIcon', 'CircleShape', 'RectShape'].includes(element.value.component))
element.value.component
))
) )
}) })
onMounted(() => { onMounted(() => {