fix: update @pureadmin/utils

This commit is contained in:
xiaoxian521
2022-07-02 12:11:09 +08:00
parent af04611d6c
commit 5a23bd02a4
72 changed files with 1355 additions and 1981 deletions

View File

@@ -1,5 +1,5 @@
import amap from "./src/Amap.vue";
import { withInstall } from "/@/utils";
import { withInstall } from "@pureadmin/utils";
/** 高德地图组件 */
export const Amap = withInstall(amap);

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import { reactive, getCurrentInstance, onBeforeMount, onUnmounted } from "vue";
import { deviceDetection } from "/@/utils/deviceDetection";
import { deviceDetection } from "@pureadmin/utils";
import AMapLoader from "@amap/amap-jsapi-loader";
import { mapJson } from "/@/api/mock";
import car from "/@/assets/car.png";