fixbug
This commit is contained in:
parent
dcbf00bca4
commit
63a2792b36
@ -91,7 +91,7 @@
|
|||||||
<div style="color: rgba(0, 0, 0, 0.40);font-size: 14px;position: absolute;bottom: 13px;">到预约时间未消费则餐券作废</div>
|
<div style="color: rgba(0, 0, 0, 0.40);font-size: 14px;position: absolute;bottom: 13px;">到预约时间未消费则餐券作废</div>
|
||||||
</div>
|
</div>
|
||||||
</van-dialog>
|
</van-dialog>
|
||||||
<van-dialog v-model:show="showfail" :show-confirm-button="false">
|
<van-dialog v-model:show="showfail" :show-confirm-button="true">
|
||||||
<template #title>
|
<template #title>
|
||||||
<img src="@/assets/fail.png" style="position: absolute;width: 64px;height: 64px;left: 40%;top: 0;" />
|
<img src="@/assets/fail.png" style="position: absolute;width: 64px;height: 64px;left: 40%;top: 0;" />
|
||||||
</template>
|
</template>
|
||||||
@ -194,10 +194,13 @@ const addYuyue = async () => {
|
|||||||
await geYYtUserInfo()
|
await geYYtUserInfo()
|
||||||
router.push('/success')
|
router.push('/success')
|
||||||
} else {
|
} else {
|
||||||
|
showToast({
|
||||||
|
message: res.msg,
|
||||||
|
position: 'top'
|
||||||
|
})
|
||||||
showfail.value = true
|
showfail.value = true
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('预约失败:', error)
|
|
||||||
showfail.value = true
|
showfail.value = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user