From 5bea753a90b2b88eff927d824155b717c3d46e3b Mon Sep 17 00:00:00 2001 From: fofolee Date: Sat, 16 Apr 2022 13:13:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E8=80=81=E7=89=88=E6=9C=AC?= =?UTF-8?q?=EF=BC=8C=E5=8A=A0=E5=85=A5=20quickcommand.payload?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index af2a854..12e6595 100644 --- a/src/App.vue +++ b/src/App.vue @@ -13,8 +13,7 @@ export default defineComponent({ data() { return { setCssVar: setCssVar, - -}; + }; }, computed: {}, created: function () { @@ -42,6 +41,7 @@ export default defineComponent({ this.$q.dark.set(utools.isDarkColors()); // 路由跳转 quickcommand.enterData = enter; + quickcommand.payload = enter.payload; this.$router.push(enter.code); }); // 退出插件