chore(projects): correct the word spell

This commit is contained in:
Soybean
2023-07-19 23:44:18 +08:00
parent 56c770c49d
commit 458e387b68
12 changed files with 45 additions and 30 deletions

View File

@ -19,7 +19,7 @@
<n-card title="自定义图标示例" :bordered="false" class="mt-10px rounded-8px shadow-sm">
<div class="pb-12px text-16px">
在src/assets/svg-icon文件夹下的svg文件通过在template里面以 icon-local-{文件名} 直接渲染,
其中icon-local为.env文件里的 VITE_ICON_LOCAL_PREFFIX
其中icon-local为.env文件里的 VITE_ICON_LOCAL_PREFIX
</div>
<div class="grid grid-cols-10">
<div class="mt-5px flex-x-center">

View File

@ -5,11 +5,11 @@
<script setup lang="ts">
import { onMounted, ref } from 'vue';
import { useScriptTag } from '@vueuse/core';
import { GAODE_MAP_SDK_URL } from '@/config';
import { AMAP_SDK_URL } from '@/config';
defineOptions({ name: 'GaodeMap' });
const { load } = useScriptTag(GAODE_MAP_SDK_URL);
const { load } = useScriptTag(AMAP_SDK_URL);
const domRef = ref<HTMLDivElement>();