From 5165541780bcbdfe3eeea1695761eed164cbbe9e Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期三, 22 十一月 2023 16:22:15 +0800 Subject: [PATCH] update 优化 开发环境默认关闭ws 因vite的bug导致如ws无法连接则会崩溃 --- src/plugins/index.ts | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/plugins/index.ts b/src/plugins/index.ts index dc49340..09d550a 100644 --- a/src/plugins/index.ts +++ b/src/plugins/index.ts @@ -7,18 +7,18 @@ import { App } from 'vue'; export default function installPlugin(app: App) { - // 椤电鎿嶄綔 - app.config.globalProperties.$tab = tab; + // 椤电鎿嶄綔 + app.config.globalProperties.$tab = tab; - // 妯℃�佹瀵硅薄 - app.config.globalProperties.$modal = modal; + // 妯℃�佹瀵硅薄 + app.config.globalProperties.$modal = modal; - // 缂撳瓨瀵硅薄 - app.config.globalProperties.$cache = cache; + // 缂撳瓨瀵硅薄 + app.config.globalProperties.$cache = cache; - // 涓嬭浇鏂囦欢 - app.config.globalProperties.$download = download; + // 涓嬭浇鏂囦欢 + app.config.globalProperties.$download = download; - // 璁よ瘉瀵硅薄 - app.config.globalProperties.$auth = auth; + // 璁よ瘉瀵硅薄 + app.config.globalProperties.$auth = auth; } -- Gitblit v1.9.3