未登录的时候页面跳转问题修复
This commit is contained in:
@@ -209,7 +209,7 @@ const fetchShops = async () => {
|
||||
shops.value = response.data || []
|
||||
} catch (error) {
|
||||
console.error('获取店铺列表失败:', error)
|
||||
message.error('获取店铺列表失败')
|
||||
message.error('未登录,请先登录')
|
||||
} finally {
|
||||
loadingShops.value = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user