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)