|
@@ -982,7 +982,12 @@ export default {
|
|
|
}
|
|
|
this.judgeMissile(this.$data._viewer2D, newTimeString);
|
|
|
//判断攻防是否结束
|
|
|
- this.ifFinish(this.$data._viewer2D, newTimeString)
|
|
|
+ if (this.ifFinish(this.$data._viewer3D, newTimeString)) {
|
|
|
+ // 停止时间轴动画
|
|
|
+ this.$data._viewer2D.clock.shouldAnimate = false;
|
|
|
+ this.dialogVisible = true
|
|
|
+ }
|
|
|
+
|
|
|
//更新模型位置
|
|
|
// this.modelEntityMoveByIDAndLocation(this.$data._viewer2D,"1654426964397658112",res.data[1].data.W1.x,res.data[1].data.W1.y,res.data[1].data.W1.z)
|
|
|
})
|
|
@@ -1033,7 +1038,7 @@ export default {
|
|
|
if (this.ifFinish(this.$data._viewer3D, newTimeString)) {
|
|
|
// 停止时间轴动画
|
|
|
this.$data._viewer3D.clock.shouldAnimate = false;
|
|
|
-
|
|
|
+ this.dialogVisible = true
|
|
|
}
|
|
|
|
|
|
//更新模型位置
|