mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
兼容老版本,加入 quickcommand.payload
This commit is contained in:
@@ -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);
|
||||
});
|
||||
// 退出插件
|
||||
|
Reference in New Issue
Block a user