Commit 628f05a1 authored by 李维's avatar 李维

Bug fix

parent 0b690fc9
...@@ -413,7 +413,9 @@ class DragonBones { ...@@ -413,7 +413,9 @@ class DragonBones {
} }
stopDragonBones() { stopDragonBones() {
this._animationLoaded.armature().animation.stop(); if(this._animationLoaded.armature()) {
this._animationLoaded.armature().animation.stop();
}
} }
showDragonBones(times = 1, animaName, callBack) { showDragonBones(times = 1, animaName, callBack) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment