瀏覽代碼

支付结果页路由拦截

冯诚 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',