未登录的时候页面跳转问题修复
This commit is contained in:
@@ -201,7 +201,7 @@ const fetchProducts = async () => {
|
||||
hasMore.value = false
|
||||
} catch (error) {
|
||||
console.error('获取商品失败:', error)
|
||||
message.error('获取商品失败,请稍后重试')
|
||||
message.error('未登录,请先登录')
|
||||
} finally {
|
||||
loading.value = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user