修复已知问题

This commit is contained in:
bobobobo
2026-01-29 00:27:31 +08:00
parent 990f2df972
commit 41c1e5ba89
36 changed files with 1353 additions and 169 deletions

View File

@@ -84,12 +84,13 @@
const getData = async productId => {
const res = await getProductDetail(productId)
viewData.value = res.data
const {
id,
price,
stockQuantity,
originalPrice: nub
} = res.data.skuList.find(v => v.isDefault == 1)
} = res.data.skuList[0]
originalPrice.value = nub
formData.maxNum = stockQuantity
formData.spec = id
@@ -142,7 +143,7 @@
const res = await addOrder(data)
await refreshUserInfo()
await showToast('订单提交成功', 'success')
navigateBack()
navigateTo('/pages/shop-together/detail', { id: res.data.groupId })
}
onShow(() => {