延迟弹出 防止不会弹出

This commit is contained in:
有果 2026-05-18 14:01:42 +08:00
parent 3dc1d71dc0
commit 6444c45f81

View File

@ -1547,7 +1547,6 @@ const shareParams = {
// }
debugger
uni.$on('homeSiteId', (data) => {
if (data.id) {
state.value.siteId = data.id
@ -1654,7 +1653,9 @@ const getLockerById = () => {
// res.data == null 找不到订单 isPlaceOrder 等于订单不可以租用
if (!res.data || !res.data?.isPlaceOrder) {
// 支付回调 会触发onshow 这个会优先出来 所有 支付成功就不弹窗 会有一个支付成功的弹窗显示
setTimeout(() => {
state.value.showhasOrderModal = true
}, 500);
reset();
// uni.showModal({
// title: t("common.title"),