From 8304b70d5904db817e0022b41fd0e1b7d65b6387 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期日, 25 二月 2024 23:53:39 +0800
Subject: [PATCH] #
---
zy-asrs-flow/config/routes.ts | 31 ++++---------------------------
1 files changed, 4 insertions(+), 27 deletions(-)
diff --git a/zy-asrs-flow/config/routes.ts b/zy-asrs-flow/config/routes.ts
index 9a68bcb..6807bab 100644
--- a/zy-asrs-flow/config/routes.ts
+++ b/zy-asrs-flow/config/routes.ts
@@ -12,6 +12,10 @@
*/
export default [
{
+ path: '/',
+ redirect: '/system/user',
+ },
+ {
path: '/user',
layout: false,
routes: [
@@ -27,33 +31,6 @@
name: 'welcome',
icon: 'smile',
component: './Welcome',
- },
- {
- path: '/admin',
- name: 'admin',
- icon: 'crown',
- access: 'canAdmin',
- routes: [
- {
- path: '/admin',
- redirect: '/admin/sub-page',
- },
- {
- path: '/admin/sub-page',
- name: 'sub-page',
- component: './Admin',
- },
- ],
- },
- {
- name: 'list.table-list',
- icon: 'table',
- path: '/list',
- component: './TableList',
- },
- {
- path: '/',
- redirect: '/welcome',
},
{
path: '*',
--
Gitblit v1.9.1