This commit is contained in:
zc
2026-03-13 10:24:18 +08:00
parent 0f7efec0e1
commit 1a1be2f9d3

View File

@@ -74,7 +74,7 @@
<!-- 图片展示 -->
<div class="image-placeholder square-image">
<img
:src="imgData.imgUrl"
src="@/assets/images/001.bmp"
alt="图片展示"
style="width: 100%; height: 100%; object-fit: cover; border-radius: 4px;"
/>
@@ -309,7 +309,7 @@ const getImage = () => {
getImg().then((res) => {
if (res.code === '0') {
imgData.imgUrl = res.data?.imgUrl || ''
imgData.imgUrl = res.data || ''
}
})
}
@@ -556,7 +556,7 @@ watch(activeStep, (newVal) => {
// 组件挂载时
onMounted(async () => {
await loadFlvJs()
pollingInterval = setInterval(getImg, 1000)
pollingInterval = setInterval(getImage, 1000)
})
// 组件卸载时