fix : 长时间无响应弹窗出现后,10秒微操作,关闭弹窗

This commit is contained in:
2025-12-22 14:52:25 +08:00
parent 73a6692998
commit c9420b28e9

View File

@@ -33,10 +33,14 @@ onMounted(() => {
state.resolve = options.resolve;
popup.value.open();
});
uni.$on('hide-global-popup',()=>{
popup.value.close()
})
});
onUnmounted(() => {
uni.$off('show-global-popup');
uni.$off('hide-global-popup');
});
const onConfirm = () => {