管道基础大数据平台系统开发-【前端】-新系統界面
1
Surpriseplus
2023-02-24 43b700eeb60efdd53369f19ae8e582ba6995e97b
src/views/Tools/maplayer.vue
@@ -12,27 +12,26 @@
    >
   <div  >
    <layer-tree />
   </div>
    </Popup>
  </div>
</template>
<script>
import Popup from './Popup.vue';
import LayerTree from './LayerTree.vue'
import Popup from "./Popup.vue";
import LayerTree from "./LayerTree.vue";
export default {
  name: 'maplayer',
  name: "maplayer",
  components: {
    Popup,
    LayerTree
    LayerTree,
  },
  data() {
    return {
      // 弹窗数据
      PopupData: ['maplayer'],
      left: 'calc(100% - 370px)',
      PopupData: ["maplayer"],
      left: "calc(100% - 370px)",
      top: 10,
    };
  },
@@ -55,8 +54,6 @@
      let data = this.PopupData.splice(index, 1)[0];
      data.close && data.close();
      this.$store.state.layerMnage = false;
    },
    // 打开弹窗
    open(title, value, style = {}) {
@@ -76,9 +73,9 @@
    createRandomId() {
      return (
        (Math.random() * 10000000).toString(16).substr(0, 4) +
        '-' +
        "-" +
        new Date().getTime() +
        '-' +
        "-" +
        Math.random().toString().substr(2, 5)
      );
    },
@@ -87,3 +84,7 @@
</script>
<style scoped lang="less">
.scrollbar {
  height: auto !important;
}
</style>