refactor(custom): 核销弹窗更改
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user