地图初始测试

This commit is contained in:
Teo
2025-04-18 18:03:05 +08:00
parent 85ee9fba77
commit 68648072de
13 changed files with 1737264 additions and 17 deletions

View File

@ -1,6 +1,11 @@
<template>
<template loading="true">
<el-config-provider :locale="appStore.locale" :size="appStore.size">
<router-view />
<div>123</div>
<div v-for="item in aarr">
1<span v-for="itm in item.features">{{ itm.geometry.coordinates }}1</span>
</div>
<el-button type="primary" size="default" @click="a" class="ml-100" v-loading.fullscreen.lock="fullscreenLoading">123</el-button>
</el-config-provider>
</template>
@ -9,7 +14,22 @@ import useSettingsStore from '@/store/modules/settings';
import { handleThemeStyle } from '@/utils/theme';
import useAppStore from '@/store/modules/app';
import { getProjectTeam } from './utils/projectTeam';
import request from '@/utils/request';
const appStore = useAppStore();
const fullscreenLoading = ref(false);
const aarr = ref([]);
const a = () => {
fullscreenLoading.value = true;
request({
url: '/project/project/json',
method: 'get'
}).then((res) => {
console.log(res);
aarr.value = res.data.layers;
fullscreenLoading.value = false;
});
};
onMounted(() => {
nextTick(() => {