+
liuyg
2022-01-08 5e12fb025b95ff06e693947458c4a9ae2cb92c6b
src/components/mobileLeftNav/index.vue
@@ -169,7 +169,7 @@
      this.$store.commit("MSET_ICONHIDE", !isif);
    },
    leftNavClick(item) {
      console.log(123132);
      // console.log(123132);
      //判断并关闭已开启标签
      let lnd = this.leftNavData;
      for (let k in lnd) {
@@ -191,7 +191,7 @@
        item.img = item.checked;
        this[item.layer].show = true;
        // console.log("飞入");
        this.flyTo(item);
        // this.flyTo(item);
        this.$store.dispatch("closeMobileWindowsDom"); //关闭弹窗
      } else {
        item.img = item.normal;
@@ -206,6 +206,14 @@
        that.dimensionData.pitch == -45
          ? [posi.lng + 0.00917, posi.lat - 0.0188, 500]
          : [posi.lng + 0.01197, posi.lat - 0.00055, 500];
      // that.mviewer.camera.flyTo({
      //   destination: Cesium.Cartesian3.fromDegrees(
      //     lntLat[0],
      //     lntLat[1],
      //     lntLat[2]
      //   ),
      // });
      // return;
      this.$store.dispatch("mapFlyTo", {
        //飞入
        lntLat: lntLat,