20260227-1
This commit is contained in:
@@ -674,7 +674,7 @@ const addToCart = async (product: any) => {
|
||||
uni.showLoading({ title: '添加中...' })
|
||||
try {
|
||||
// 尝试调用 Supabase 服务添加
|
||||
const success = await supabaseService.addToCart(product.id, 1, '')
|
||||
const success = await supabaseService.addToCart(product.id, 1, '', '')
|
||||
if (success) {
|
||||
uni.showToast({
|
||||
title: '已添加到购物车',
|
||||
|
||||
Reference in New Issue
Block a user