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
6dbc6151
Commit
6dbc6151
authored
Jul 31, 2020
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ss
parent
15e8e429
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 additions
and
12 deletions
+1
-12
.gitignore
.gitignore
+0
-1
index.html
public/index.html
+0
-1
layout.vue
src/layout/layout.vue
+0
-9
permission.js
src/utils/permission.js
+1
-1
No files found.
.gitignore
View file @
6dbc6151
.DS_Store
node_modules
dm-layout
# local env files
.env.local
...
...
public/index.html
View file @
6dbc6151
...
...
@@ -26,7 +26,6 @@
<script
src=
"//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/layout.1.2.41.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js"
></script>
</body>
</html>
src/layout/layout.vue
deleted
100644 → 0
View file @
15e8e429
<
template
>
<dm-layout/>
</
template
>
<
script
>
export
default
{
name
:
'layout'
}
</
script
>
src/utils/permission.js
View file @
6dbc6151
...
...
@@ -63,7 +63,7 @@ function intercept(to, from, next) {
// 无权限访问
if
(
projectRoutes
.
some
(
el
=>
el
==
to
.
path
)
||
accessPath
.
length
==
0
)
{
window
.
location
.
href
=
`
${
origin
}
/
damo-system/no-access
`
;
window
.
location
.
href
=
`
${
origin
}
/
haoban-4/#/gic-error
`
;
}
else
{
next
(
accessPath
[
0
]);
}
...
...
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