Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-activity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1a97f990
authored
Jan 17, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
3142b13e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
src/App.vue
src/router/routes.js
src/App.vue
View file @
1a97f99
...
@@ -38,14 +38,12 @@ export default {
...
@@ -38,14 +38,12 @@ export default {
]
]
}
}
},
},
watch
:
{
watch
:
{
watchFlag
:
{
watchFlag
:
{
immediate
:
true
,
immediate
:
true
,
handler
(
newval
)
{
handler
(
newval
)
{
this
.
showWindow
=
newval
this
.
showWindow
=
newval
this
.
hideLoading
()
this
.
hideLoading
()
if
(
this
.
$route
.
path
==
'/'
)
this
.
$router
.
push
(
'coupon'
)
}
}
}
}
},
},
...
@@ -54,7 +52,6 @@ export default {
...
@@ -54,7 +52,6 @@ export default {
return
this
.
$store
.
state
.
app
.
showWindow
return
this
.
$store
.
state
.
app
.
showWindow
}
}
},
},
mounted
()
{
mounted
()
{
},
},
...
...
src/router/routes.js
View file @
1a97f99
...
@@ -49,7 +49,12 @@ const pages = {
...
@@ -49,7 +49,12 @@ const pages = {
}
}
]
]
}
}
let
routes
=
[]
let
routes
=
[
{
path
:
'/'
,
redirect
:
'/coupon'
}
]
const
keepAlives
=
[]
const
keepAlives
=
[]
Object
.
keys
(
pages
).
map
(
parent
=>
{
Object
.
keys
(
pages
).
map
(
parent
=>
{
pages
[
parent
].
map
(
val
=>
{
pages
[
parent
].
map
(
val
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment