Commit 2ef732a8 authored by 张牧越's avatar 张牧越

bugfix

parent 35b43a11
......@@ -22,7 +22,7 @@
class="router-link"
>
<router-link
:to="{ path: router.menu_url, query: { token_code: token } }"
:to="{ path: router.menu_url, query: $route.query }"
@click="clearRoute"
>
{{ router.right_name }}</router-link
......@@ -46,7 +46,7 @@
>
<div @click="setRoute(router, child)">
<router-link
:to="{ path: child.menu_url, query: { token_code: token } }"
:to="{ path: child.menu_url, query: $route.query }"
>
{{ child.right_name }}</router-link
>
......@@ -74,7 +74,7 @@
<router-link
v-if="router.child && router.child.length == 0"
:key="index"
:to="{ path: router.menu_url, query: { token_code: token } }"
:to="{ path: router.menu_url, query: $route.query }"
>
<span @click="clearRoute">{{
router.right_name
......@@ -93,7 +93,7 @@
>
<div @click="setRoute(router, child)">
<router-link
:to="{ path: child.menu_url, query: { token_code: token } }"
:to="{ path: child.menu_url, query: $route.query }"
>
{{ child.right_name }}</router-link
>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment