提交 7dad0503 authored 作者: wangjiahao's avatar wangjiahao

fix: 移动端设计时,等待区可能出现空白问题

上级 49e39d37
......@@ -1368,7 +1368,11 @@ export default {
resizeView(index, item) {
if (item.type === 'view' || item.type === 'de-show-date') {
try {
this.$refs.wrapperChild[index].chartResize()
} catch (e) {
// ignore error
}
}
},
editComponent(index, item) {
......
......@@ -115,7 +115,7 @@ export default {
this.flvPlayer.load()
this.flvPlayer.play()
} catch (error) {
console.log(error)
console.log('flvjs err ignore')
}
}
}
......
......@@ -128,7 +128,7 @@ export function baseGaugeOptionAntV(plot, container, chart, action, scale = 1) {
}
}
}
console.log(options.indicator.pin)
// console.log(options.indicator.pin)
// 开始渲染
if (plot) {
......
......@@ -9,7 +9,7 @@
v-for="(config, index) in pcComponentData"
v-if="!config.mobileSelected"
:id="'wait' + config.id"
:key="index"
:key="config.id"
>
<component-wait-item
:config="config"
......
<template>
<div
v-proportion="0.8"
:style="componentItemStyle"
>
<div class="component-item">
<mobile-check-bar v-if="mobileCheckBarShow" :element="config" />
<de-out-widget
v-if="config.type==='custom'"
......@@ -70,11 +67,6 @@ export default {
})
return result
},
componentItemStyle() {
return {
padding: '5px'
}
},
...mapState([
'mobileLayoutStatus',
'componentData',
......@@ -96,4 +88,8 @@ export default {
width: 100% !important;
height: 100%;
}
.component-item {
padding: 5px;
height: 200px!important;
}
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论