From e6634ea6ff7a8896324f34e8f12df36c03e3135b Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Wed, 23 Oct 2024 14:44:24 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=A7=A3=E5=86=B3=E7=BA=BF=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E9=94=99token=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index e19a13b5..b59c802c 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -2,7 +2,6 @@ import { createApp } from 'vue'; import { createPinia } from 'pinia'; import { commonStore } from '@/store'; import App from '@/App.vue'; -import { isEmpty } from 'element-plus/es/utils'; const app = createApp(App); const pinia = createPinia(); app.use(pinia); @@ -417,6 +416,7 @@ export const tabs_style = (color: string, style: string | number | boolean | und * @returns {Promise} 返回一个Promise,解析为包含资源URL的字符串 */ export const online_url = async (directory: string = '') => { + console.log(2); if (import.meta.env.VITE_APP_BASE_API == '/dev-api') { let temp_data = await import(import.meta.env.VITE_APP_BASE_API == '/dev-api' ? '../../temp.d' : '../../temp_pro.d'); return temp_data.default.temp_attachment_host + directory;