兼容老版本,加入 quickcommand.payload

This commit is contained in:
fofolee 2022-04-16 13:13:01 +08:00
parent 1350abf765
commit 5bea753a90

View File

@ -13,8 +13,7 @@ export default defineComponent({
data() { data() {
return { return {
setCssVar: setCssVar, setCssVar: setCssVar,
};
};
}, },
computed: {}, computed: {},
created: function () { created: function () {
@ -42,6 +41,7 @@ export default defineComponent({
this.$q.dark.set(utools.isDarkColors()); this.$q.dark.set(utools.isDarkColors());
// //
quickcommand.enterData = enter; quickcommand.enterData = enter;
quickcommand.payload = enter.payload;
this.$router.push(enter.code); this.$router.push(enter.code);
}); });
// 退 // 退