consumer模块完成度95%,检查消费者前端bug并修复
This commit is contained in:
@@ -334,10 +334,7 @@ const updateRecommendList = (recommends: Product[]) => {
|
||||
|
||||
const refreshRecommend = async () => {
|
||||
try {
|
||||
// 递增页码以获取不同的商品
|
||||
recommendPage.value = recommendPage.value + 1
|
||||
|
||||
// 使用 searchProducts 获取不同页码的 6 个产品
|
||||
// 鷻加随机偏移量, const randomOffset = Math.floor(Math.random() * 1000)
|
||||
const hotResp = await supabaseService.searchProducts('', recommendPage.value, 6, 'sales')
|
||||
const recommends = hotResp.data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user