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

This commit is contained in:
wangjiahao 2021-11-01 18:13:16 +08:00
parent 9ad120e677
commit 21185a7058

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