Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
xqz
/
dianDemo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3579fed1
authored
2019-06-15 14:45:24 +0800
by
406803045
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
权限
1 parent
831c5529
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
src/main.js
src/permission.js
src/main.js
View file @
3579fed
import
Vue
from
'vue'
import
'normalize.css/normalize.css'
// A modern alternative to CSS resets
import
'@/assets/css/index.scss'
// global css
...
...
@@ -7,7 +6,8 @@ import 'lib-flexible/flexible.js'
import
App
from
'./App'
import
store
from
'./store'
import
router
from
'./router'
import
filters
from
'./filters'
import
'@/filters'
// filters
import
'@/permission'
// permission 权限
Vue
.
config
.
productionTip
=
false
new
Vue
({
...
...
src/permission.js
0 → 100644
View file @
3579fed
import
router
from
'./router'
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{})
router
.
afterEach
(()
=>
{})
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment