Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sb_karaoke_cocos
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
sb_karaoke_cocos
Commits
ee2cda49
Commit
ee2cda49
authored
Feb 25, 2021
by
liujiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: autofocus
parent
02edcc25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
lrc-editor.component.ts
form/src/app/common/lrc-editor/lrc-editor.component.ts
+7
-7
No files found.
form/src/app/common/lrc-editor/lrc-editor.component.ts
View file @
ee2cda49
...
...
@@ -229,13 +229,13 @@ export class LrcEditorComponent implements OnInit, OnChanges, OnDestroy, AfterVi
// console.log('ngOnChanges', JSON.stringify(value)); // this.ngOnInit();
}
ngOnDestroy
():
void
{
this
.
audioPlayBarPositionSub
.
unsubscribe
();
this
.
audioDataLoadedSub
.
unsubscribe
();
this
.
audioPlayTimestampSub
.
unsubscribe
();
this
.
audioPlayEndSub
.
unsubscribe
();
this
.
dragMoveBarSub
.
unsubscribe
();
this
.
arrowKeyUpSub
.
unsubscribe
();
this
.
loadAudioSub
.
unsubscribe
();
this
.
audioPlayBarPositionSub
&&
this
.
audioPlayBarPositionSub
.
unsubscribe
();
this
.
audioDataLoadedSub
&&
this
.
audioDataLoadedSub
.
unsubscribe
();
this
.
audioPlayTimestampSub
&&
this
.
audioPlayTimestampSub
.
unsubscribe
();
this
.
audioPlayEndSub
&&
this
.
audioPlayEndSub
.
unsubscribe
();
this
.
dragMoveBarSub
&&
this
.
dragMoveBarSub
.
unsubscribe
();
this
.
arrowKeyUpSub
&&
this
.
arrowKeyUpSub
.
unsubscribe
();
this
.
loadAudioSub
&&
this
.
loadAudioSub
.
unsubscribe
();
}
ngAfterViewInit
()
{
...
...
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