@@ -10,29 +10,27 @@ export const asyncRoutes = [
10
10
component : Layout ,
11
11
redirect : '/development/functions' ,
12
12
meta : {
13
- title : '开发控制台' , icon : 'guide' , noCache : true
13
+ title : '开发控制台' , icon : 'guide'
14
14
} ,
15
15
children : [
16
16
{
17
17
path : 'functions' ,
18
18
component : ( ) => import ( '@/views/development/functions' ) ,
19
- name : 'FunctionManagement ' ,
19
+ name : 'FunctionListPage ' ,
20
20
meta : {
21
21
title : '云函数' ,
22
22
icon : 'bug' ,
23
- noCache : true ,
24
23
permissions : [ 'function.read' ]
25
24
}
26
25
} ,
27
26
{
28
27
path : 'functions/:id' ,
29
28
component : ( ) => import ( '@/views/development/function' ) ,
30
- name : 'FunctionEdit ' ,
29
+ name : 'FunctionEditorPage ' ,
31
30
hidden : true ,
32
31
meta : {
33
32
title : '调试云函数' ,
34
33
icon : 'bug' ,
35
- noCache : true ,
36
34
permissions : [ 'function.read' ]
37
35
}
38
36
} ,
@@ -43,31 +41,28 @@ export const asyncRoutes = [
43
41
meta : {
44
42
title : '云函数日志' ,
45
43
icon : 'documentation' ,
46
- noCache : true ,
47
44
permissions : [ 'function.read' , 'function.edit' , 'function.create' , 'function.debug' ]
48
45
}
49
46
} ,
50
47
{
51
48
path : 'function-logs/:id' ,
52
49
component : ( ) => import ( '@/views/development/function_logs' ) ,
53
- name : 'FunctionLogs ' ,
50
+ name : 'FunctionlogsListPage ' ,
54
51
hidden : true ,
55
52
meta : {
56
53
title : '云函数日志' ,
57
54
icon : 'lock' ,
58
- noCache : true ,
59
55
permissions : [ 'function_logs.read' , 'function.read' , 'function.edit' , 'function.create' , 'function.debug' ]
60
56
}
61
57
} ,
62
58
{
63
59
path : 'triggers/:funcId' ,
64
60
component : ( ) => import ( '@/views/development/triggers' ) ,
65
- name : 'TriggerManagement ' ,
61
+ name : 'TriggerListPage ' ,
66
62
hidden : true ,
67
63
meta : {
68
64
title : '云函数触发器' ,
69
65
icon : 'lock' ,
70
- noCache : true ,
71
66
permissions : [ 'trigger.read' , 'trigger.edit' , 'trigger.create' , 'trigger.delete' ]
72
67
}
73
68
}
@@ -78,29 +73,27 @@ export const asyncRoutes = [
78
73
component : Layout ,
79
74
redirect : '/database/collections' ,
80
75
meta : {
81
- title : '数据管理' , icon : 'excel' , noCache : true
76
+ title : '数据管理' , icon : 'excel' , noCache : false
82
77
} ,
83
78
children : [
84
79
{
85
80
path : 'policies' ,
86
81
component : ( ) => import ( '@/views/database/policies' ) ,
87
- name : 'RuleManagement ' ,
82
+ name : 'PoliciesListPage ' ,
88
83
meta : {
89
84
title : '访问策略' ,
90
85
icon : 'eye' ,
91
- noCache : true ,
92
86
permissions : [ 'policy.read' ]
93
87
}
94
88
} ,
95
89
{
96
90
path : 'policy' ,
97
91
component : ( ) => import ( '@/views/database/policy' ) ,
98
- name : 'RuleManagement ' ,
92
+ name : 'RuleEditorPage ' ,
99
93
hidden : true ,
100
94
meta : {
101
95
title : '访问规则编辑' ,
102
- icon : 'edit' ,
103
- noCache : true
96
+ icon : 'edit'
104
97
}
105
98
} ,
106
99
{
@@ -110,7 +103,6 @@ export const asyncRoutes = [
110
103
meta : {
111
104
title : '集合管理' ,
112
105
icon : 'example' ,
113
- noCache : true ,
114
106
permissions : [ 'database.manage' , 'collections.get' , 'collections.createIndex' , 'collections.deleteIndex' ]
115
107
}
116
108
}
@@ -121,28 +113,26 @@ export const asyncRoutes = [
121
113
component : Layout ,
122
114
redirect : '/system/role' ,
123
115
meta : {
124
- title : '成员管理' , icon : 'peoples' , noCache : true
116
+ title : '成员管理' , icon : 'peoples'
125
117
} ,
126
118
children : [
127
119
{
128
120
path : 'admin' ,
129
121
component : ( ) => import ( '@/views/system/admin' ) ,
130
- name : 'AdminManagement ' ,
122
+ name : 'AdminListPage ' ,
131
123
meta : {
132
124
title : '开发者' ,
133
125
icon : 'people' ,
134
- noCache : true ,
135
126
permissions : [ 'admin.read' ]
136
127
}
137
128
} ,
138
129
{
139
130
path : 'role' ,
140
131
component : ( ) => import ( '@/views/system/role' ) ,
141
- name : 'RoleManagement ' ,
132
+ name : 'RoleListPage ' ,
142
133
meta : {
143
134
title : '角色' ,
144
135
icon : 'user' ,
145
- noCache : true ,
146
136
permissions : [ 'role.edit' , 'role.create' ]
147
137
}
148
138
}
0 commit comments