Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vipSupplier
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王淑敏
vipSupplier
Commits
2ea5c8c3
Commit
2ea5c8c3
authored
Nov 16, 2020
by
chuzhixin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
fixed: refresh bug
parent
95c151b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/layouts/components/VabAppMain/index.vue
+1
-1
src/layouts/components/VabNavBar/index.vue
+1
-1
No files found.
src/layouts/components/VabAppMain/index.vue
View file @
2ea5c8c3
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
},
},
created
()
{
created
()
{
//重载所有路由
//重载所有路由
this
.
$baseEventBus
.
$on
(
'reload-routerview'
,
()
=>
{
this
.
$baseEventBus
.
$on
(
'reload-router
-
view'
,
()
=>
{
this
.
routerView
=
false
this
.
routerView
=
false
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
routerView
=
true
this
.
routerView
=
true
...
...
src/layouts/components/VabNavBar/index.vue
View file @
2ea5c8c3
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
this
.
changeCollapse
()
this
.
changeCollapse
()
},
},
async
refreshRoute
()
{
async
refreshRoute
()
{
this
.
$baseEventBus
.
$emit
(
'reload-routerview'
)
this
.
$baseEventBus
.
$emit
(
'reload-router
-
view'
)
this
.
pulse
=
true
this
.
pulse
=
true
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
pulse
=
false
this
.
pulse
=
false
...
...
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