继续完善购物逻辑闭环,consumer模块完成度75%
This commit is contained in:
@@ -361,7 +361,7 @@ const submitReview = async () => {
|
||||
}
|
||||
|
||||
// 提交商品评价
|
||||
const productReviews = orderItems.value.map((item, index) => ({
|
||||
/* const productReviews = orderItems.value.map((item, index) => ({
|
||||
user_id: userId,
|
||||
product_id: item.product_id,
|
||||
order_id: orderId.value,
|
||||
@@ -416,7 +416,10 @@ const submitReview = async () => {
|
||||
|
||||
if (orderError !== null) {
|
||||
console.error('更新订单状态失败:', orderError)
|
||||
}
|
||||
} */
|
||||
|
||||
// MOCK SUBMIT
|
||||
await new Promise(resolve => setTimeout(resolve, 1000))
|
||||
|
||||
// 显示成功提示
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user