|
@@ -46,9 +46,9 @@
|
|
|
<li class="sm-btn sm-tool-btn" :title="Resource.sceneOptions" @click="choose(3)">
|
|
|
<i class="el-icon-setting"></i>
|
|
|
</li>
|
|
|
- <li class="sm-btn sm-tool-btn" title="行政区划开关" @click="choose(12)">
|
|
|
+ <!-- <li class="sm-btn sm-tool-btn" title="行政区划开关" @click="choose(12)">
|
|
|
<i class="el-icon-map-location"></i>
|
|
|
- </li>
|
|
|
+ </li> -->
|
|
|
<!-- </ul> -->
|
|
|
<div style="display: none" class="sm-tool-btn" @click="toggleVisibility" :class="{ 'sm-tool-btn-only': !show }">
|
|
|
<span class="iconfont" :class="!show
|
|
@@ -250,18 +250,20 @@ export default {
|
|
|
this.show = !this.show;
|
|
|
},
|
|
|
choose(i) {
|
|
|
- if (i == 12) {
|
|
|
-
|
|
|
- store.setXzqh_flag(!store.state.xzqh_flag);
|
|
|
+ // if (i == 12) {
|
|
|
|
|
|
- // 隐藏行政区划console.log();
|
|
|
- cockpit.hidden_xzqh(store.state.xzqh_flag);
|
|
|
- // 隐藏墙体
|
|
|
- cockpit.hidden_wall(store.state.xzqh_flag);
|
|
|
- } else {
|
|
|
- store.setToolBarAction(i);
|
|
|
+ // store.setXzqh_flag(!store.state.xzqh_flag);
|
|
|
|
|
|
- }
|
|
|
+ // // 隐藏行政区划console.log();
|
|
|
+ // cockpit.hidden_xzqh(store.state.xzqh_flag);
|
|
|
+ // // 隐藏墙体
|
|
|
+ // cockpit.hidden_wall(store.state.xzqh_flag);
|
|
|
+ // } else {
|
|
|
+ // store.setToolBarAction(i);
|
|
|
+
|
|
|
+ // }
|
|
|
+
|
|
|
+ store.setToolBarAction(i);
|
|
|
},
|
|
|
},
|
|
|
watch: {
|