From bd13b522f95d4f9429eb0e8bc7df2e1ce3d58554 Mon Sep 17 00:00:00 2001 From: wangjuncheng <1> Date: 星期三, 16 四月 2025 16:41:55 +0800 Subject: [PATCH] change --- src/main.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index 6fa2881..7232194 100644 --- a/src/main.js +++ b/src/main.js @@ -8,10 +8,12 @@ import dayjs from "dayjs" import '@/assets/css/global.css' import { createPinia } from 'pinia' // 瀵煎叆 Pinia +import { convertToWKT } from '@/utils/wktUtils'; // 寮曞叆宸ュ叿鍑芥暟 const pinia = createPinia() import "element-plus/theme-chalk/index.css" const app = createApp(App) +app.config.globalProperties.$convertToWKT = convertToWKT; app.config.globalProperties.$dayjs = dayjs app.use(ElementUI, { zhLocale }).use(router).use(pinia).mount("#app") -- Gitblit v1.9.3