Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cc_mz_007
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
cc_mz_007
Commits
54426673
Commit
54426673
authored
Sep 22, 2020
by
Li Mingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: upload anima refresh
parent
96fb6ab7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
upload-dragon-bone.component.ts
...common/upload-dragon-bone/upload-dragon-bone.component.ts
+8
-3
form.component.html
form/src/app/form/form.component.html
+1
-0
No files found.
form/src/app/common/upload-dragon-bone/upload-dragon-bone.component.ts
View file @
54426673
...
...
@@ -25,6 +25,9 @@ export class UploadDragonBoneComponent implements OnDestroy, OnChanges {
@
Output
()
save
=
new
EventEmitter
();
@
Output
()
refreshEmitter
=
new
EventEmitter
();
// @Input()
// picUrl;
// @Input()
...
...
@@ -157,9 +160,11 @@ export class UploadDragonBoneComponent implements OnDestroy, OnChanges {
* 刷新 渲染页面
*/
refresh
()
{
setTimeout
(()
=>
{
this
.
appRef
.
tick
();
},
1
);
this
.
refreshEmitter
.
emit
();
// setTimeout(() => {
// this.appRef.tick();
// }, 1);
}
...
...
form/src/app/form/form.component.html
View file @
54426673
...
...
@@ -65,6 +65,7 @@
[
texJsonData
]=
group
.
texJsonData
[
texPngData
]=
group
.
texPngData
(
save
)="
saveAnima
($
event
,
group
)"
(
refreshEmitter
)="
refresh
()"
>
</app-upload-dragon-bone>
...
...
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