From eb364873d236e6bd0aec2c7ad8ad6bdaeafe75f3 Mon Sep 17 00:00:00 2001
From: dhb52 <dhb52@126.com>
Date: 星期三, 13 三月 2024 01:18:49 +0800
Subject: [PATCH] ✨ EasyRetry Server 扩展模块

---
 src/router/index.ts |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/router/index.ts b/src/router/index.ts
index d6aefe9..0792d8e 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -1,4 +1,4 @@
-import { createWebHistory, createRouter, RouteOption } from 'vue-router';
+import { createWebHistory, createRouter, RouteRecordRaw } from 'vue-router';
 /* Layout */
 import Layout from '@/layout/index.vue';
 
@@ -25,7 +25,7 @@
  */
 
 // 鍏叡璺敱
-export const constantRoutes: RouteOption[] = [
+export const constantRoutes: RouteRecordRaw[] = [
   {
     path: '/redirect',
     component: Layout,
@@ -92,7 +92,7 @@
 ];
 
 // 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇
-export const dynamicRoutes: RouteOption[] = [
+export const dynamicRoutes: RouteRecordRaw[] = [
   {
     path: '/system/user-auth',
     component: Layout,
@@ -139,7 +139,7 @@
     path: '/system/oss-config',
     component: Layout,
     hidden: true,
-    permissions: ['system:oss:list'],
+    permissions: ['system:ossConfig:list'],
     children: [
       {
         path: 'index',
@@ -180,6 +180,5 @@
     }
   }
 });
-
 
 export default router;

--
Gitblit v1.9.3