liuyg
2022-02-10 d834db340790851078fd384dbccbfa21d2d8b5df
+解决(点击建筑后,生成的绿布,不会被点击其他关闭)
2 files modified
16 ■■■■■ changed files
src/components/mobilemap/index.vue 3 ●●●● patch | view | raw | blame | history
src/store/modules/mobile.js 13 ●●●●● patch | view | raw | blame | history
src/components/mobilemap/index.vue
@@ -404,7 +404,7 @@
            ii++;
            cutHeight = height - startHeight;
            // console.log(cutHeight);
            console.log(height);
            // console.log(height);
            that.heights = height;
            that.heights1 = cutHeight;
            // return;
@@ -766,6 +766,7 @@
              video: item.videourl,
              buts: ["定位", "实景", "图集"],
              panoramaurl: item.panoramaurl, //全景
              fromTo: "mapClick",
            };
            // 定制化窗体
            // console.log(item, useData, "111111");
src/store/modules/mobile.js
@@ -439,8 +439,21 @@
        state.dimensionData.pitch
      );
      if (!state.MobileWindowsHide) {
        //关闭弹窗
        commit("MSET_MOBILEWINDOWSHIDE", true);
      }
      console.log(data);
      if (
        state.select.overlay != undefined &&
        data.query.fromTo != "mapClick"
      ) {
        //关闭绿色边框
        state.select.overlay.setStyle({
          material: state.select.color,
          outline: false,
        });
        commit("mset_changeSelect", [undefined, undefined]);
      }
      // console.log(state.dimension);
      if (state.dimension != "2.5D") {
        // if (true) {