mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-08-06 10:57:26 +08:00
feat: 增强用户登录体验与组件逻辑优化
- 在多个组件中添加用户登录状态检查,确保用户在进行特定操作前已登录。 - 更新购物车、消息中心等组件的点击事件,未登录时提示用户登录。 - 优化优惠券领取逻辑,未登录时引导用户登录。 - 调整样式以提升组件一致性,确保用户界面友好。
This commit is contained in:
@@ -51,7 +51,13 @@ module.exports = {
|
||||
minSize: 20000,
|
||||
cacheGroups: {
|
||||
vendor: {
|
||||
test: /[\\/]node_modules[\\/]/,
|
||||
test(module) {
|
||||
if (!module.context) return false;
|
||||
if (/[\\/]node_modules[\\/]vue-qr[\\/]/.test(module.context)) {
|
||||
return false;
|
||||
}
|
||||
return /[\\/]node_modules[\\/]/.test(module.context);
|
||||
},
|
||||
name(module) {
|
||||
const match =
|
||||
module.context &&
|
||||
|
||||
Reference in New Issue
Block a user