fix:仪表板属性组件显示不全问题

This commit is contained in:
wangjiahao 2021-11-01 18:13:16 +08:00
parent e6f30e9e6c
commit dd29b73476

View File

@ -347,6 +347,11 @@ export default {
this.innerOpacity = this.styleInfo['opacity'] * 100
}
this.mainWidthOffset = document.getElementById('main-attr').offsetWidth - 50
if (this.curComponent.type === 'v-text') {
this.mainWidthOffset = 600
} else if (this.curComponent.type === 'de-show-date') {
this.mainWidthOffset = 600
}
// console.log('mainWidthOffset:' + this.mainWidthOffset)
},
attrShow(attr) {