- <template>
- <ElButton @click="mound = !mound">销毁测试</ElButton>
- <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";
- const mound = ref(true);
- const width = window.innerWidth;
- const height = window.innerHeight;
- </script>
|