建图
This commit is contained in:
@@ -416,9 +416,6 @@ export default {
|
||||
this.calculateCarSize()
|
||||
},
|
||||
|
||||
// 核心修改:移除响应式调整逻辑,不再处理窗口大小变化
|
||||
// handleResize() { ... },
|
||||
|
||||
startAnimationLoop() {
|
||||
const animate = () => {
|
||||
this.animationId = requestAnimationFrame(animate)
|
||||
@@ -482,9 +479,6 @@ export default {
|
||||
this.carTexture = null
|
||||
}
|
||||
|
||||
// 移除窗口大小变化监听
|
||||
window.removeEventListener('resize', this.handleResize)
|
||||
|
||||
this.camera = null
|
||||
this.carMesh = null
|
||||
this.pointCloudMesh = null
|
||||
|
||||
Reference in New Issue
Block a user