fix(仪表板): 修复过滤组件移动端布局变形问题

This commit is contained in:
wangjiahao 2024-05-28 12:15:20 +08:00
parent a9b79e05ff
commit 2bb9cdabc4

View File

@ -843,7 +843,7 @@ export default {
if (this.componentData) {
const componentData = deepCopy(this.componentData)
componentData.forEach(component => {
if (component.type === 'custom') {
if (component.type === 'custom' && !this._isMobile) {
const sourceComponent = this.findSourceComponent(component.id)
if (sourceComponent?.style) {
component.style = deepCopy(this.findSourceComponent(component.id).style)