소스 검색

支付结果页路由拦截

冯诚 3 년 전
부모
커밋
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',