mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-10-24 04:21:23 +08:00
运行命令界面
This commit is contained in:
@@ -19,7 +19,7 @@ export default defineComponent({
|
||||
},
|
||||
methods: {
|
||||
init() {
|
||||
window.utools = window.getuToolsLite()
|
||||
window.utools = window.getuToolsLite();
|
||||
// 版本检测
|
||||
const requiredVersion = "2.6.1";
|
||||
let version = utools.getAppVersion();
|
||||
@@ -37,7 +37,12 @@ export default defineComponent({
|
||||
this.$q.dark.set(utools.isDarkColors());
|
||||
// 路由跳转
|
||||
quickcommand.enterData = enter;
|
||||
this.$router.push(enter.code);
|
||||
this.$router.push({
|
||||
path: enter.code,
|
||||
query: {
|
||||
timestamp: new Date().getTime(),
|
||||
},
|
||||
});
|
||||
});
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user