|
|
@@ -56,6 +56,7 @@ const show = ref(false)
|
|
|
const popupRef = ref(null)
|
|
|
const imgList = ref([])
|
|
|
const isLoading = ref(true)
|
|
|
+const timer1 = ref(null)
|
|
|
|
|
|
onLoad((options) => {
|
|
|
tId.value = options.id;
|
|
|
@@ -97,6 +98,8 @@ async function previewBase64Image(base64Data) {
|
|
|
|
|
|
function goUpPage() {
|
|
|
uni.navigateBack()
|
|
|
+ clearTimeout(timer1.value);
|
|
|
+ timer1.value = null;
|
|
|
}
|
|
|
|
|
|
const handleQM = throttleAdvanced((img) => {
|
|
|
@@ -115,7 +118,7 @@ const handleQM = throttleAdvanced((img) => {
|
|
|
duration: 2000,
|
|
|
mask: true,
|
|
|
success() {
|
|
|
- setTimeout(() => goUpPage(),2000)
|
|
|
+ timer1.value = setTimeout(() => goUpPage(),2000)
|
|
|
}
|
|
|
})
|
|
|
}
|