fix: 待支付|再次预定交互逻辑调整
This commit is contained in:
@@ -123,6 +123,19 @@ const goodsInfo = async (params) => {
|
||||
commodityId: goodsData.value.commodityId,
|
||||
});
|
||||
}
|
||||
|
||||
if (goodsData.value.commodityStatus !== "1") {
|
||||
uni.showModal({
|
||||
title: "温馨提示",
|
||||
content: "商品已下架,是否返回上一页?",
|
||||
success: (res) => {
|
||||
if (res.confirm) {
|
||||
uni.navigateBack({ delta: 1 });
|
||||
}
|
||||
},
|
||||
});
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
const configGoodsData = () => {
|
||||
|
||||
Reference in New Issue
Block a user