Browse Source

fix: 调整场景配置的接口请求

sy-water-data-board-ui
chenhaojie 1 year ago
parent
commit
a61ce02400
  1. 5
      src/views/aiSupervision/waterSetting/runScene/detail/sceneConfig.vue

5
src/views/aiSupervision/waterSetting/runScene/detail/sceneConfig.vue

@ -75,8 +75,10 @@ export default {
zoomSensitivity,
cameraPosture,
viewImg,
layerId
layerId,
id
} = res.data;
this.initForm.id = id;
this.initForm.initTime = initTime;
this.initForm.initWeather = initWeather;
this.initForm.ambientLightIntensity = ambientLightIntensity;
@ -90,7 +92,6 @@ export default {
this.$emit('set-checked-keys', layerIds);
this.$nextTick(() => {
if (this.viewForm.image) {
console.log(this.viewForm, viewer);
const { lng, lat, alt, heading, pitch, roll } = this.viewForm;
setTimeout(() => {
window.viewer.scene.camera.setView({

Loading…
Cancel
Save