Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
digital-construction
Project
Project
Details
Activity
Releases
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
张牧越
digital-construction
Commits
2ef732a8
Commit
2ef732a8
authored
Jul 25, 2023
by
张牧越
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
35b43a11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Index.vue
src/components/Index.vue
+4
-4
No files found.
src/components/Index.vue
View file @
2ef732a8
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
class=
"router-link"
class=
"router-link"
>
>
<router-link
<router-link
:to=
"
{ path: router.menu_url, query:
{ token_code: token }
}"
:to=
"
{ path: router.menu_url, query:
$route.query
}"
@click="clearRoute"
@click="clearRoute"
>
>
{{
router
.
right_name
}}
</router-link
{{
router
.
right_name
}}
</router-link
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
>
>
<
div
@
click
=
"setRoute(router, child)"
>
<
div
@
click
=
"setRoute(router, child)"
>
<
router
-
link
<
router
-
link
:
to
=
"{ path: child.menu_url, query:
{ token_code: token
}
}
"
:
to
=
"{ path: child.menu_url, query:
$route.query
}
"
>
>
{{
child
.
right_name
}}
<
/router-lin
k
{{
child
.
right_name
}}
<
/router-lin
k
>
>
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
<
router
-
link
<
router
-
link
v
-
if
=
"router.child && router.child.length == 0"
v
-
if
=
"router.child && router.child.length == 0"
:
key
=
"index"
:
key
=
"index"
:
to
=
"{ path: router.menu_url, query:
{ token_code: token
}
}
"
:
to
=
"{ path: router.menu_url, query:
$route.query
}
"
>
>
<
span
@
click
=
"clearRoute"
>
{{
<
span
@
click
=
"clearRoute"
>
{{
router
.
right_name
router
.
right_name
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
>
>
<
div
@
click
=
"setRoute(router, child)"
>
<
div
@
click
=
"setRoute(router, child)"
>
<
router
-
link
<
router
-
link
:
to
=
"{ path: child.menu_url, query:
{ token_code: token
}
}
"
:
to
=
"{ path: child.menu_url, query:
$route.query
}
"
>
>
{{
child
.
right_name
}}
<
/router-lin
k
{{
child
.
right_name
}}
<
/router-lin
k
>
>
...
...
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