fix: AI预警样式调整

This commit is contained in:
kun 2024-06-28 20:02:20 +08:00
parent 8200b1203c
commit ad4b56defc

View File

@ -78,7 +78,7 @@
:preview-src-list="[BASEURL + '/image/' + detailData.imageUrl]"
>
<template #error>
<el-image :src="noDataImage" :preview-src-list="[noDataImage]" fit="contain" class="el-no-img" alt="" />
<el-image :src="noDataImage" :preview-src-list="[noDataImage]" class="el-no-img" alt="" />
</template>
</el-image>
<!-- <img :src="BASEURL + '/image/' + detailData.imageUrl" /> -->
@ -244,7 +244,7 @@ function closeDialog() {
defineExpose({
getWarnTypeOption,
getWarnAlarmList
})
});
onMounted(async () => {
getWarnTypeOption();
getWarnAlarmList();
@ -357,6 +357,10 @@ onBeforeUnmount(async () => {
width: 100%;
height: 100%;
}
.el-no-img {
width: 100%;
height: 100%;
}
}
}
}
@ -415,6 +419,10 @@ onBeforeUnmount(async () => {
width: 100%;
height: 100%;
}
.el-no-img {
width: 100%;
height: 100%;
}
}
}
div {