|
@@ -3,6 +3,8 @@ import store from '@/stores/counter';
|
|
|
import axios from 'axios';
|
|
|
import common from './module/common';
|
|
|
import admin from './module/admin';
|
|
|
+import institution from './module/institution';
|
|
|
+import personal from './module/personal';
|
|
|
|
|
|
|
|
|
const router = createRouter({
|
|
@@ -30,8 +32,11 @@ const router = createRouter({
|
|
|
component: () => import('@/views/home/index.vue')
|
|
|
},
|
|
|
// 管理员
|
|
|
- ...admin,
|
|
|
-
|
|
|
+ ...admin
|
|
|
+ // 机构
|
|
|
+ ...institution,
|
|
|
+ // 个人
|
|
|
+ ...personal,
|
|
|
]
|
|
|
}
|
|
|
]
|