refactor(custom): 核销弹窗更改
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2025-03-18 15:44:57 +08:00
parent b475228705
commit 8ece6b24e8
14 changed files with 94 additions and 1758 deletions

View File

@@ -97,15 +97,21 @@ const subVerify = async () => {
oid: goodInfo.value.oid,
bid: goodInfo.value.bid,
});
Taro.showToast({
title: res.msg,
icon: 'none',
//Taro.showToast({
// title: res.msg,
// icon: 'none',
//});
Taro.showModal({
title: '核销提示',
content: res.msg,
success: () => {
setTimeout(() => {
Taro.navigateBack({
delta: 1,
});
}, 3000);
},
});
setTimeout(() => {
Taro.navigateBack({
delta: 1,
});
}, 3000);
} catch (error) {
Taro.showToast({
title: error.msg,