Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
d895eb12
Commit
d895eb12
authored
Dec 16, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swiper
parent
420e524a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
src/components/activity/newyear-2019/common/system-bullet-screen/index.js
+1
-1
src/components/activity/newyear-2019/common/user-bullet-screen/index.js
+6
-0
No files found.
src/components/activity/newyear-2019/common/system-bullet-screen/index.js
View file @
d895eb12
...
...
@@ -19,7 +19,7 @@ class SystemBulletScreen extends Component {
}
componentWillUnmount
()
{
this
.
swiper
&&
this
.
swiper
.
destroy
(
true
,
true
)
this
.
swiper
&&
this
.
swiper
.
destroy
()
}
...
...
src/components/activity/newyear-2019/common/user-bullet-screen/index.js
View file @
d895eb12
...
...
@@ -6,6 +6,8 @@ import './bullet-screen.scss'
class
UserBulletScreen
extends
Component
{
swiper
state
=
{
bulletScreenData
:
[]
}
...
...
@@ -14,6 +16,10 @@ class UserBulletScreen extends Component {
this
.
getBulletScreenData
(
true
)
}
componentWillUpdate
()
{
this
.
swiper
&&
this
.
swiper
.
destroy
()
}
initializeBulletScreen
=
()
=>
{
const
_this
=
this
...
...
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