|
|
@@ -811,7 +811,7 @@ const routes = [
|
|
|
meta: {}
|
|
|
},
|
|
|
{
|
|
|
- padth: '/rank',
|
|
|
+ path: '/rank',
|
|
|
name: 'rank',
|
|
|
component: () => import('../views/user/Rank.vue'),
|
|
|
meta: {}
|
|
|
@@ -946,6 +946,7 @@ const router = createRouter({
|
|
|
});
|
|
|
|
|
|
router.beforeEach((to, from, next) => {
|
|
|
+ console.log(to);
|
|
|
if (/^\/http/.test(to.path)) {
|
|
|
let url = to.path.replace('/', '');
|
|
|
let params = [];
|