src/views/system/project/components/addPorjectDialog.vue
@@ -47,7 +47,6 @@ class="filter-tree" :data="treeData" :props="defaultProps" draggable default-expand-all ref="tree"> </el-tree> @@ -97,6 +96,7 @@ methods:{ handleClose(){ this.dialogVisible = false this.$emit('close') }, flyToLocal(row){ console.log(row) @@ -400,6 +400,9 @@ const rotatedZ = localStartPoint.z; // Z轴坐标保持不变 // 将旋转后的局部坐标转换回世界坐标系 return Cesium.Matrix4.multiplyByPoint(transformationMatrix, new Cesium.Cartesian3(rotatedX, rotatedY, rotatedZ), new Cesium.Cartesian3()); }, submit(){ console.log('生成航线') } } }