-
-
- {{ $t('panel.panelNull') }}
-
-
-
-
-
+
+
-
-
-
- {{ $t('chart.export_details') }}
-
-
-
-
+
+ {{ $t('panel.panelNull') }}
+
+
+
+
+
+
+
+
+ {{ $t('chart.export_details') }}
+
+
+
+
+
@@ -94,9 +102,7 @@ export default {
},
computed: {
customStyle() {
- let style = {
- padding: this.componentGap + 'px'
- }
+ let style = {}
if (this.canvasStyleData.openCommonStyle) {
if (this.canvasStyleData.panel.backgroundType === 'image' && this.canvasStyleData.panel.imageUrl) {
style = {
@@ -110,16 +116,6 @@ export default {
}
}
}
- // if (this.canvasStyleData.selfAdaption) {
- // style = {
- // overflow: 'hidden',
- // ...style
- // }
- // }
- // style = {
- // overflow-x :'hidden',
- // ...style
- // }
return style
},
// 此处单独计算componentData的值 不放入全局mapState中
@@ -152,17 +148,17 @@ export default {
const _this = this
const erd = elementResizeDetectorMaker()
// 监听div变动事件
- const tempDom = document.getElementById('canvasInfoMain')
- erd.listenTo(tempDom, element => {
+ const mainDom = document.getElementById('canvasInfoMain')
+ erd.listenTo(mainDom, element => {
_this.$nextTick(() => {
_this.restore()
// 将mainHeight 修改为px 临时解决html2canvas 截图不全的问题
- _this.mainHeight = tempDom.scrollHeight + 'px!important'
+ _this.mainHeight = mainDom.scrollHeight + 'px!important'
})
})
eventBus.$on('openChartDetailsDialog', this.openChartDetailsDialog)
- this.$store.commit('clearLinkageSettingInfo', false)
- this.canvasStyleDataInit()
+ _this.$store.commit('clearLinkageSettingInfo', false)
+ _this.canvasStyleDataInit()
},
beforeDestroy() {
clearInterval(this.timer)
@@ -235,8 +231,6 @@ export default {
}
},
handleMouseDown() {
- // console.log('handleMouseDown123')
-
this.$store.commit('setClickComponentStatus', false)
}
}
@@ -244,47 +238,45 @@ export default {
diff --git a/frontend/src/components/dataease/DeOutWidget.vue b/frontend/src/components/dataease/DeOutWidget.vue
index 47316d13da..b8e1a03681 100644
--- a/frontend/src/components/dataease/DeOutWidget.vue
+++ b/frontend/src/components/dataease/DeOutWidget.vue
@@ -1,29 +1,31 @@
-
-
-
-
-
-
-
{{ element.options.attrs.title }}
+
+
+
+
+
+
+
+ {{ element.options.attrs.title }}
+
-
-
-
-
-
-
+
@@ -97,12 +99,16 @@ export default {