mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-10-24 04:21:23 +08:00
结构调整
This commit is contained in:
13
src/App.vue
13
src/App.vue
@@ -30,17 +30,8 @@ export default defineComponent({
|
||||
// 暗黑模式
|
||||
this.$q.dark.set(utools.isDarkColors());
|
||||
// 路由跳转
|
||||
let routeData = {
|
||||
from: "uTools",
|
||||
action: "run",
|
||||
data: enter,
|
||||
};
|
||||
this.$router.push({
|
||||
name: enter.code,
|
||||
params: {
|
||||
data: JSON.stringify(routeData),
|
||||
},
|
||||
});
|
||||
quickcommand.enterData = enter
|
||||
this.$router.push(enter.code);
|
||||
});
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user