mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
feat: 添加mock,完成高德地图组件
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
<div class="map">
|
||||
<amap />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang='ts'>
|
||||
import amap from "../../../components/map/amap.vue";
|
||||
export default {
|
||||
components: {
|
||||
amap
|
||||
},
|
||||
setup(){
|
||||
return{
|
||||
|
||||
@@ -15,5 +19,8 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
.map {
|
||||
width: 100%;
|
||||
height: 89vh;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -10,11 +10,8 @@
|
||||
|
||||
<script lang="ts">
|
||||
import {
|
||||
ref,
|
||||
reactive,
|
||||
onMounted,
|
||||
onBeforeMount,
|
||||
getCurrentInstance,
|
||||
} from "vue";
|
||||
import info, { ContextProps } from "../components/info/index.vue";
|
||||
import { getVerify, getLogin } from "../api/user";
|
||||
|
||||
Reference in New Issue
Block a user