From 1d37c375fd114212ee1419c3bbdadc81d76666a4 Mon Sep 17 00:00:00 2001
From: yearning <10538594+wangweifeng1999@user.noreply.gitee.com>
Date: 星期四, 03 九月 2026 18:01:59 +0800
Subject: [PATCH] 优化

---
 src/main.js |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main.js b/src/main.js
index 043e2ed..364ba33 100644
--- a/src/main.js
+++ b/src/main.js
@@ -27,10 +27,16 @@
 // ?qxydebug2=true 瑙﹀彂
 const urlParams = new URLSearchParams(window.location.search);
 if (urlParams.get('qxydebug2') === 'true') {
+  localStorage.setItem('debug2', 'true')
+}
+if (localStorage.getItem('debug2') == 'true') {
   import('vconsole').then((module) => {
     new module.default();
   });
 }
+//  import('vconsole').then((module) => {
+//     new module.default();
+//   });
 
 app.config.globalProperties.$rules = ruleGenerator
 app.config.globalProperties.$property = property

--
Gitblit v1.8.0