未登录的时候页面跳转问题修复

This commit is contained in:
xiaowang
2026-02-24 10:57:00 +08:00
parent aa0aca2ac0
commit ab6684227b
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ const fetchProductDetail = async () => {
}
} catch (error) {
console.error('获取商品详情失败:', error)
ElMessage.error('获取商品详情失败,请稍后重试')
ElMessage.error('未登录,请先登录')
}
}