解决二三维切换时出现的一些报错

This commit is contained in:
zh
2025-08-14 00:15:55 +08:00
parent a6fb1af6f9
commit d7ecd6d865
3 changed files with 7 additions and 4 deletions

View File

@ -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);