Преглед изворни кода

支付结果页路由拦截

冯诚 пре 2 година
родитељ
комит
03d2305a18
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/router.ts

+ 1 - 0
src/router.ts

@@ -44,6 +44,7 @@ const router = createRouter({
       path: '/pay-result/:status',
       component: () => import('./pages/pay-result/index.vue'),
       props: true,
+      meta: { auth: true },
     },
     {
       path: '/account',