Skip to content

Commit 4059350

Browse files
committed
fix(*(right)):
fix right to permission
1 parent c2c48b4 commit 4059350

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

src/plugins/LinCmsUi/stage-config.js

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const LinCmsUiRouter = {
1616
filePath: 'plugins/LinCmsUi/views/basic/',
1717
inNav: true,
1818
icon: 'iconfont icon-jiemiansheji',
19-
right: null,
19+
permission: null,
2020
children: [
2121
{
2222
title: 'Button 按钮',
@@ -26,7 +26,7 @@ const LinCmsUiRouter = {
2626
filePath: 'plugins/LinCmsUi/views/basic/button/Button.vue',
2727
inNav: true,
2828
icon: 'iconfont icon-jiemiansheji',
29-
right: null,
29+
permission: null,
3030
},
3131
{
3232
title: 'Link 文字链接',
@@ -36,7 +36,7 @@ const LinCmsUiRouter = {
3636
filePath: 'plugins/LinCmsUi/views/basic/link/Link.vue',
3737
inNav: true,
3838
icon: 'iconfont icon-jiemiansheji',
39-
right: null,
39+
permission: null,
4040
},
4141
{
4242
title: 'Icon 图标',
@@ -46,7 +46,7 @@ const LinCmsUiRouter = {
4646
filePath: 'plugins/LinCmsUi/views/basic/icon/Icon.vue',
4747
inNav: true,
4848
icon: 'iconfont icon-jiemiansheji',
49-
right: null,
49+
permission: null,
5050
},
5151
],
5252
},
@@ -58,7 +58,7 @@ const LinCmsUiRouter = {
5858
filePath: 'plugins/LinCmsUi/views/data/',
5959
inNav: true,
6060
icon: 'iconfont icon-jiemiansheji',
61-
right: null,
61+
permission: null,
6262
children: [
6363
{
6464
title: 'Pagination 分页',
@@ -68,7 +68,7 @@ const LinCmsUiRouter = {
6868
filePath: 'plugins/LinCmsUi/views/data/pagination/Pagination.vue',
6969
inNav: true,
7070
icon: 'iconfont icon-jiemiansheji',
71-
right: null,
71+
permission: null,
7272
},
7373
{
7474
title: 'Progress 进度条',
@@ -78,7 +78,7 @@ const LinCmsUiRouter = {
7878
filePath: 'plugins/LinCmsUi/views/data/progress/Progress.vue',
7979
inNav: true,
8080
icon: 'iconfont icon-jiemiansheji',
81-
right: null,
81+
permission: null,
8282
},
8383
{
8484
title: 'Badge 标记',
@@ -88,7 +88,7 @@ const LinCmsUiRouter = {
8888
filePath: 'plugins/LinCmsUi/views/data/badge/Badge.vue',
8989
inNav: true,
9090
icon: 'iconfont icon-jiemiansheji',
91-
right: null,
91+
permission: null,
9292
},
9393
{
9494
title: 'Tag 标签',
@@ -98,7 +98,7 @@ const LinCmsUiRouter = {
9898
filePath: 'plugins/LinCmsUi/views/data/tag/Tag.vue',
9999
inNav: true,
100100
icon: 'iconfont icon-jiemiansheji',
101-
right: null,
101+
permission: null,
102102
},
103103
],
104104
},
@@ -110,7 +110,7 @@ const LinCmsUiRouter = {
110110
filePath: 'plugins/LinCmsUi/views/navigation/',
111111
inNav: true,
112112
icon: 'iconfont icon-jiemiansheji',
113-
right: null,
113+
permission: null,
114114
children: [
115115
{
116116
title: 'Tabs 标签页',
@@ -120,7 +120,7 @@ const LinCmsUiRouter = {
120120
filePath: 'plugins/LinCmsUi/views/navigation/tab/Tab.vue',
121121
inNav: true,
122122
icon: 'iconfont icon-jiemiansheji',
123-
right: null,
123+
permission: null,
124124
},
125125
{
126126
title: 'Breadcrumb 面包屑',
@@ -130,7 +130,7 @@ const LinCmsUiRouter = {
130130
filePath: 'plugins/LinCmsUi/views/navigation/Breadcrumb.vue',
131131
inNav: true,
132132
icon: 'iconfont icon-jiemiansheji',
133-
right: null,
133+
permission: null,
134134
},
135135
{
136136
title: 'Dropdown 下拉菜单',
@@ -140,7 +140,7 @@ const LinCmsUiRouter = {
140140
filePath: 'plugins/LinCmsUi/views/navigation/Dropdown.vue',
141141
inNav: true,
142142
icon: 'iconfont icon-jiemiansheji',
143-
right: null,
143+
permission: null,
144144
},
145145
{
146146
title: 'Steps 步骤条',
@@ -150,7 +150,7 @@ const LinCmsUiRouter = {
150150
filePath: 'plugins/LinCmsUi/views/navigation/Steps.vue',
151151
inNav: true,
152152
icon: 'iconfont icon-jiemiansheji',
153-
right: null,
153+
permission: null,
154154
},
155155
],
156156
},
@@ -162,7 +162,7 @@ const LinCmsUiRouter = {
162162
filePath: 'plugins/LinCmsUi/views/table/',
163163
inNav: true,
164164
icon: 'iconfont icon-jiemiansheji',
165-
right: null,
165+
permission: null,
166166
children: [
167167
{
168168
title: '基础示例',
@@ -192,7 +192,7 @@ const LinCmsUiRouter = {
192192
filePath: 'plugins/LinCmsUi/views/form/',
193193
inNav: true,
194194
icon: 'iconfont icon-jiemiansheji',
195-
right: null,
195+
permission: null,
196196
children: [
197197
{
198198
title: 'Input',
@@ -247,7 +247,7 @@ const LinCmsUiRouter = {
247247
filePath: 'plugins/LinCmsUi/views/form/switch/Switch.vue',
248248
inNav: true,
249249
icon: 'iconfont icon-jiemiansheji',
250-
right: null,
250+
permission: null,
251251
},
252252
{
253253
title: 'Rate 评分',
@@ -257,7 +257,7 @@ const LinCmsUiRouter = {
257257
filePath: 'plugins/LinCmsUi/views/form/rate/Rate.vue',
258258
inNav: true,
259259
icon: 'iconfont icon-jiemiansheji',
260-
right: null,
260+
permission: null,
261261
},
262262
{
263263
title: 'TimePicker 时间选择器',
@@ -267,7 +267,7 @@ const LinCmsUiRouter = {
267267
filePath: 'plugins/LinCmsUi/views/form/TimePicker.vue',
268268
inNav: true,
269269
icon: 'iconfont icon-jiemiansheji',
270-
right: null,
270+
permission: null,
271271
},
272272
{
273273
title: 'DateTimePicker 日期时间选择器',
@@ -277,7 +277,7 @@ const LinCmsUiRouter = {
277277
filePath: 'plugins/LinCmsUi/views/form/DateTimePicker.vue',
278278
inNav: true,
279279
icon: 'iconfont icon-jiemiansheji',
280-
right: null,
280+
permission: null,
281281
},
282282
{
283283
title: 'DatePicker 日期选择器',
@@ -287,7 +287,7 @@ const LinCmsUiRouter = {
287287
filePath: 'plugins/LinCmsUi/views/form/DatePicker.vue',
288288
inNav: true,
289289
icon: 'iconfont icon-jiemiansheji',
290-
right: null,
290+
permission: null,
291291
},
292292
{
293293
title: 'Cascader 级联选择器',
@@ -297,7 +297,7 @@ const LinCmsUiRouter = {
297297
filePath: 'plugins/LinCmsUi/views/form/Cascader.vue',
298298
inNav: true,
299299
icon: 'iconfont icon-jiemiansheji',
300-
right: null,
300+
permission: null,
301301
},
302302
{
303303
title: 'Slider 滑块',
@@ -307,7 +307,7 @@ const LinCmsUiRouter = {
307307
filePath: 'plugins/LinCmsUi/views/form/Slider.vue',
308308
inNav: true,
309309
icon: 'iconfont icon-jiemiansheji',
310-
right: null,
310+
permission: null,
311311
},
312312
],
313313
},
@@ -319,7 +319,7 @@ const LinCmsUiRouter = {
319319
filePath: 'plugins/LinCmsUi/views/notice/',
320320
inNav: true,
321321
icon: 'iconfont icon-jiemiansheji',
322-
right: null,
322+
permission: null,
323323
children: [
324324
{
325325
title: 'Alert 警告',
@@ -367,7 +367,7 @@ const LinCmsUiRouter = {
367367
filePath: 'plugins/LinCmsUi/views/others/',
368368
inNav: true,
369369
icon: 'iconfont icon-jiemiansheji',
370-
right: null,
370+
permission: null,
371371
children: [
372372
{
373373
title: 'Dialog 对话框',
@@ -377,7 +377,7 @@ const LinCmsUiRouter = {
377377
filePath: 'plugins/LinCmsUi/views/other/Dialog.vue',
378378
inNav: true,
379379
icon: 'iconfont icon-jiemiansheji',
380-
right: null,
380+
permission: null,
381381
},
382382
{
383383
title: 'Timeline 时间线',
@@ -387,7 +387,7 @@ const LinCmsUiRouter = {
387387
filePath: 'plugins/LinCmsUi/views/other/Timeline.vue',
388388
inNav: true,
389389
icon: 'iconfont icon-jiemiansheji',
390-
right: null,
390+
permission: null,
391391
},
392392
],
393393
},

src/router/home-router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ deepTravel(stageConfig, viewConfig => {
2626
viewRouter.meta = {
2727
title: viewConfig.title,
2828
icon: viewConfig.icon,
29-
right: viewConfig.right,
29+
permission: viewConfig.permission,
3030
type: viewConfig.type,
3131
blueBaseColor: viewConfig.blueBaseColor ? 'viewConfig.blueBaseColor' : '',
3232
}

0 commit comments

Comments
 (0)