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