src/components/chat/chatComponents/mapCom/MapCom.vue
@@ -5,8 +5,10 @@ <script setup lang="ts"> import { onMounted, ref } from 'vue'; import { GaoDeMap } from '/@/model/map/GaoDeMap'; import { chatComProps } from '../common'; let gaoDeMap = new GaoDeMap(); const containerRef = ref<HTMLDivElement>(null); const props = defineProps(chatComProps); onMounted(async () => { await gaoDeMap.init({