From 80944f86705180ee52c7a4d273efae153e06fcb3 Mon Sep 17 00:00:00 2001
From: yearning <10538594+wangweifeng1999@user.noreply.gitee.com>
Date: 星期五, 26 六月 2026 11:39:30 +0800
Subject: [PATCH] 优化
---
src/main.js | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/main.js b/src/main.js
index 3c7ec9c..043e2ed 100644
--- a/src/main.js
+++ b/src/main.js
@@ -24,9 +24,13 @@
app.component(key, component)
}
-// import('vconsole').then((module) => {
-// new module.default()
-// })
+// ?qxydebug2=true 瑙﹀彂
+const urlParams = new URLSearchParams(window.location.search);
+if (urlParams.get('qxydebug2') === 'true') {
+ import('vconsole').then((module) => {
+ new module.default();
+ });
+}
app.config.globalProperties.$rules = ruleGenerator
app.config.globalProperties.$property = property
@@ -43,7 +47,6 @@
app.use(ElementPlus, {
locale: zhCn,
-
})
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
--
Gitblit v1.8.0