ソースを参照

底部公用组件

彭宇 2 年 前
コミット
cd8d5e289d
2 ファイル変更0 行追加10 行削除
  1. 0 5
      src/views/datacenter.vue
  2. 0 5
      src/views/monitor.vue

+ 0 - 5
src/views/datacenter.vue

@@ -86,7 +86,6 @@
 		created() {
       /** ----------------------------------底部按钮公用组件开始------------------------------------- */
       window.showDialog=this.showDialog
-      window.closeChild=this.closeChild
       window.choseLayerSwitching=this.choseLayerSwitching
       /** ----------------------------------底部按钮公用组件结束------------------------------------- */
 		},
@@ -141,10 +140,6 @@
           }
         }
       },
-      //点击关闭选择图层
-      closeChild() {
-        this.$refs.bottomMenu.showChild = false
-      },
       //选择图层
       choseLayerSwitching(url) {
         this.$refs.supermap.layerSwitching(url, true);

+ 0 - 5
src/views/monitor.vue

@@ -128,7 +128,6 @@
 
       /** ----------------------------------底部按钮公用组件开始------------------------------------- */
       window.showDialog=this.showDialog
-      window.closeChild=this.closeChild
       window.choseLayerSwitching=this.choseLayerSwitching
       /** ----------------------------------底部按钮公用组件结束------------------------------------- */
     },
@@ -183,10 +182,6 @@
           }
         }
       },
-      //点击关闭选择图层
-      closeChild() {
-        this.$refs.bottomMenu.showChild = false
-      },
       //选择图层
       choseLayerSwitching(url) {
         this.$refs.supermap.layerSwitching(url, true);