diff --git a/src/App.vue b/src/App.vue index 1e5738a..c5d41c9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -26,10 +26,20 @@ export default defineComponent({ return; } utools.onPluginEnter((enter) => { + // 暗黑模式 + this.$q.dark.set(utools.isDarkColors()); + // 数据传递 localStorage["enterData"] = JSON.stringify(enter); + // 路由跳转 this.$router.push(enter.code); }); }, }, }); + +