修复倒计时的取消处理

This commit is contained in:
ywyonui 2025-08-30 13:48:50 +08:00
parent 2e334807bc
commit e664978136
2 changed files with 2 additions and 11 deletions

View File

@ -74,14 +74,10 @@ const startCountdown = () => {
seconds--;
if (seconds <= 0) {
clearInterval(timer);
await jzXkCancelApi({
jzXkCancelApi({
xsId: getData.xsId,
xkId: getData.xkId
});
uni.showToast({
title: "已取消报名",
icon: "success",
});
uni.showModal({
title: "支付超时",
content: "支付已超时,请重新选课",

View File

@ -152,15 +152,10 @@ const startCountdown = () => {
seconds--;
if (seconds <= 0) {
clearInterval(timer);
await jzXkCancelApi({
jzXkCancelApi({
xsId: getData.xsId,
xkId: getData.xkId
});
uni.showToast({
title: "已取消报名",
icon: "success",
});
uni.showModal({
title: "支付超时",
content: "支付已超时,请重新选课",