Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-4
Commits
c5ad9373
Commit
c5ad9373
authored
Sep 18, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改默认有权限路由
parent
4cb0539d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
main.js
src/main.js
+3
-3
No files found.
src/main.js
View file @
c5ad9373
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-16 16:37:05
* @LastEditors: 无尘
* @LastEditTime: 2020-09-18 1
5:04:54
* @LastEditTime: 2020-09-18 1
6:02:16
*/
import
'babel-polyfill'
;
import
'element-ui/lib/theme-chalk/index.css'
;
...
...
@@ -40,9 +40,9 @@ Vue.config.productionTip = false;
Object
.
keys
(
filters
).
forEach
(
key
=>
{
Vue
.
filter
(
key
,
filters
[
key
]);
});
const
localRoute
=
[
'/data-dimension'
,
'/crowd-scene'
,
'/customer-data-set'
,
'/clerk-tag'
,
'/customer-assign'
];
permission
({
whiteRoute
:
[
'/login'
,
'/contactsList'
,
'/apps'
,
'/gic-error'
,
'/403'
,
'/404'
,
'/500'
,
...
localRoute
],
whiteRoute
:
[
'/login'
,
'/contactsList'
,
'/apps'
,
'/gic-error'
,
'/403'
,
'/404'
,
'/500'
],
router
,
routes
,
createApp
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment