<template>
  <div id="right-pano">
    <ElButton @click="mound = !mound">销毁测试</ElButton>
  </div>
  <QueryBoard :width="width" :height="height" v-if="mound" />
</template>

<script setup lang="ts">
import { ref } from "vue";
import { ElButton } from "element-plus";
// import QueryBoard from "./app/4dmap/example/index.vue";
// import QueryBoard from "./app/liantong/example/index.vue";
import QueryBoard from "./app/test/index.vue";

const mound = ref(true);
const width = window.innerWidth;
const height = window.innerHeight;
</script>

<style>
#right-pano {
  position: absolute;
  right: 0;
  top: 0;
  max-width: 200px;
  z-index: 1;
}
</style>
