解决二三维切换时出现的一些报错
This commit is contained in:
@ -655,7 +655,7 @@ class TrajectoryMotion extends Base {
|
||||
})
|
||||
this.TweenAnimate.pause()
|
||||
setTimeout(() => {
|
||||
_this.model.isMove = false
|
||||
_this.model && (_this.model.isMove = false)
|
||||
}, 200);
|
||||
}
|
||||
}
|
||||
@ -1531,7 +1531,7 @@ class TrajectoryMotion extends Base {
|
||||
else {
|
||||
setPosition(startDistance)
|
||||
setTimeout(() => {
|
||||
_this.model.isMove = false
|
||||
_this.model && (_this.model.isMove = false)
|
||||
}, 500);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user