Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
et_21
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
et_21
Commits
af778440
Commit
af778440
authored
Mar 05, 2021
by
liujiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
8cc8e1fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lrc-editor.component.ts
form/src/app/common/lrc-editor/lrc-editor.component.ts
+2
-2
No files found.
form/src/app/common/lrc-editor/lrc-editor.component.ts
View file @
af778440
...
@@ -109,7 +109,7 @@ export class LrcEditorComponent implements OnInit, OnChanges, OnDestroy, AfterVi
...
@@ -109,7 +109,7 @@ export class LrcEditorComponent implements OnInit, OnChanges, OnDestroy, AfterVi
}
}
ngOnInit
()
{
ngOnInit
()
{
window
[
'
lrc
'
]
=
this
;
window
[
'
lrc
'
]
=
this
;
console
.
log
(
'
this.LRCData 1
'
,
this
.
LRCData
);
//
console.log('this.LRCData 1', this.LRCData);
if
(
!
this
.
LRCData
)
{
if
(
!
this
.
LRCData
)
{
this
.
LRCData
=
{};
this
.
LRCData
=
{};
}
}
...
@@ -229,7 +229,7 @@ export class LrcEditorComponent implements OnInit, OnChanges, OnDestroy, AfterVi
...
@@ -229,7 +229,7 @@ export class LrcEditorComponent implements OnInit, OnChanges, OnDestroy, AfterVi
// console.log('ngOnChanges', JSON.stringify(value)); // this.ngOnInit();
// console.log('ngOnChanges', JSON.stringify(value)); // this.ngOnInit();
}
}
ngOnDestroy
():
void
{
ngOnDestroy
():
void
{
console
.
log
(
'
destory
'
)
//
console.log('destory')
this
.
audioPlayBarPositionSub
&&
this
.
audioPlayBarPositionSub
.
unsubscribe
();
this
.
audioPlayBarPositionSub
&&
this
.
audioPlayBarPositionSub
.
unsubscribe
();
this
.
audioDataLoadedSub
&&
this
.
audioDataLoadedSub
.
unsubscribe
();
this
.
audioDataLoadedSub
&&
this
.
audioDataLoadedSub
.
unsubscribe
();
this
.
audioPlayTimestampSub
&&
this
.
audioPlayTimestampSub
.
unsubscribe
();
this
.
audioPlayTimestampSub
&&
this
.
audioPlayTimestampSub
.
unsubscribe
();
...
...
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