Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ycc-website
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Website
ycc-website
Commits
ced0d462
Commit
ced0d462
authored
Jun 22, 2021
by
xhx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
e4ee598a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
m-feature.vue
src/components/mobile/m-feature.vue
+1
-1
m-scene.vue
src/components/mobile/m-scene.vue
+1
-1
No files found.
src/components/mobile/m-feature.vue
View file @
ced0d462
...
@@ -97,7 +97,7 @@ export default Vue.extend({
...
@@ -97,7 +97,7 @@ export default Vue.extend({
})
})
},
},
watch
:
{
watch
:
{
$route
(
n
)
{
$route
(
n
:
any
)
{
if
(
n
.
path
!==
'/home'
)
return
if
(
n
.
path
!==
'/home'
)
return
const
_t
=
this
.
swiper1
as
any
const
_t
=
this
.
swiper1
as
any
_t
.
destroy
()
_t
.
destroy
()
...
...
src/components/mobile/m-scene.vue
View file @
ced0d462
...
@@ -103,7 +103,7 @@ export default Vue.extend({
...
@@ -103,7 +103,7 @@ export default Vue.extend({
this
.
swiper2
=
{}
this
.
swiper2
=
{}
},
},
watch
:
{
watch
:
{
$route
(
n
){
$route
(
n
:
any
){
if
(
n
.
path
!==
'/home'
)
return
if
(
n
.
path
!==
'/home'
)
return
const
_t
=
this
.
swiper2
as
any
const
_t
=
this
.
swiper2
as
any
_t
.
destroy
()
_t
.
destroy
()
...
...
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