mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 14:34:13 +08:00
兼容老版本,加入 quickcommand.payload
This commit is contained in:
parent
1350abf765
commit
5bea753a90
@ -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);
|
||||
});
|
||||
// 退出插件
|
||||
|
Loading…
x
Reference in New Issue
Block a user