目录
gitee仓库地址:https://gitee.com/CMD-UROOT/sph-project/commits/master
gitee仓库地址:https://gitee.com/CMD-UROOT/sph-project/commits/master
大家根据上传历史进行查找你需要的代码
业务需求1:
我们知道未登录的状态,是不能进入交易相关(trade)、支付相关(pay、paysuccess)、用户中心(center)页面的,如果用户点击进入这些页面就会跳转到登录页面
这里我们利用全局守卫来做
1.把Header中该实现的跳转都实现
在components/Header/index.vue中:
找到对应的结构