feat:组件预览入口修改为悬浮蓝色悬浮框展示

This commit is contained in:
wangjiahao 2021-08-03 11:29:32 +08:00
parent e4e0eef948
commit 2bbca0e525

View File

@ -8,7 +8,7 @@
'rect-shape' 'rect-shape'
]" ]"
> >
<i v-if="requestStatus==='success'" style="right:25px;position: absolute;z-index: 2" class="icon iconfont icon-fangda" @click.stop="openChartDetailsDialog" /> <!-- <i v-if="requestStatus==='success'" style="right:25px;position: absolute;z-index: 2" class="icon iconfont icon-fangda" @click.stop="openChartDetailsDialog" />-->
<div v-if="requestStatus==='error'" class="chart-error-class"> <div v-if="requestStatus==='error'" class="chart-error-class">
<div style="font-size: 12px; color: #9ea6b2;height: 100%;display: flex;align-items: center;justify-content: center;"> <div style="font-size: 12px; color: #9ea6b2;height: 100%;display: flex;align-items: center;justify-content: center;">
{{ message }},{{ $t('chart.chart_show_error') }} {{ message }},{{ $t('chart.chart_show_error') }}
@ -128,7 +128,7 @@ export default {
this.getData(this.element.propValue.viewId) this.getData(this.element.propValue.viewId)
}, },
mounted() { mounted() {
eventBus.$on('showViewDetails', this.openChartDetailsDialog)
}, },
methods: { methods: {
mergeStyle() { mergeStyle() {