Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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-3
Commits
98122498
Commit
98122498
authored
May 10, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 菜单框架
parent
ef8f5f94
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
index.vue
src/components/layout/index.vue
+3
-1
main.js
src/main.js
+1
-5
No files found.
src/components/layout/index.vue
View file @
98122498
...
...
@@ -127,7 +127,9 @@ export default {
}
return
path
;
});
this
.
$router
.
addRoutes
([{
path
:
'/'
,
redirect
:
'/'
+
path
}]);
if
(
path
)
{
this
.
$router
.
addRoutes
([{
path
:
'/'
,
redirect
:
'/'
+
path
}]);
}
},
onShowLoading
(
loading
)
{
if
(
loading
)
{
...
...
src/main.js
View file @
98122498
...
...
@@ -74,11 +74,7 @@ router.beforeEach((to, from, next) => {
}
else
{
baseUrl
=
host
;
}
if
(
to
.
path
==
'/'
)
{
next
({
path
:
'/login'
});
}
else
{
next
();
}
next
();
});
Vue
.
prototype
.
$buttonCode
=
{
multipleAssign
:
'multipleAssign'
,
...
...
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