|
|
@@ -414,14 +414,15 @@ const refreshUploadStatus = async (id) => { |
|
|
|
try { |
|
|
|
const res = await findImage(id); |
|
|
|
console.log(res, "res"); |
|
|
|
if (res.data.image) { |
|
|
|
if (res.data.imageList && res.data.imageList.length) { |
|
|
|
const imageUrl = res.data.imageList[0]; |
|
|
|
clearInterval(timer.value); |
|
|
|
uni.showToast({ |
|
|
|
title: "上传成功!", |
|
|
|
icon: "success", |
|
|
|
}); |
|
|
|
showQrCode.value = false; |
|
|
|
UimgSrc.value = res.data.image; |
|
|
|
UimgSrc.value = imageUrl; |
|
|
|
CimgSrc.value = ""; |
|
|
|
isShowCanvas.value = false; |
|
|
|
isSuccess.value = true; |
|
|
|