fix: 修复整体配置出现图片加载失败的情况

main
wu.jian2 2 years ago
parent e9819c895b
commit d504e8efb9

@ -84,7 +84,7 @@
选择背景图 选择背景图
</el-button> </el-button>
<el-image <el-image
v-show="form.bg" v-if="form.bg"
class="bg-img bs-el-img" class="bg-img bs-el-img"
:src="form.bg" :src="form.bg"
fit="cover" fit="cover"
@ -365,6 +365,7 @@ export default {
this.pageInfo.pageConfig.refreshConfig = [] this.pageInfo.pageConfig.refreshConfig = []
} }
this.form = { ...this.pageInfo.pageConfig } this.form = { ...this.pageInfo.pageConfig }
console.log('this.form', this.form)
this.drawerVisible = true this.drawerVisible = true
if (this.pageInfo.chartList.length === 0) { if (this.pageInfo.chartList.length === 0) {
this.pageInfo.pageConfig.refreshConfig = [] this.pageInfo.pageConfig.refreshConfig = []
@ -538,14 +539,14 @@ export default {
} }
.bg-img { .bg-img {
width: 200px; width: 180px;
height: 150px; height: 150px;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
} }
.close-icon { .close-icon {
left: 170px; left: 150px;
top: 10px; top: 10px;
font-size: 24px; font-size: 24px;
cursor: pointer; cursor: pointer;

Loading…
Cancel
Save