添加快捷命令服务的功能

This commit is contained in:
fofolee
2022-04-17 18:14:51 +08:00
parent 7390125d7c
commit 661c6b3711
16 changed files with 878 additions and 498 deletions

View File

@@ -33,6 +33,16 @@ export default defineComponent({
});
return;
}
// 如果配置了后台服务则开启监听
if (this.$profile.quickFeatures.apiServer.serverStatus) {
window
.quickcommandHttpServer()
.run(
this.$profile.quickFeatures.apiServer.cmd,
this.$profile.quickFeatures.apiServer.port
);
console.log("Server Start...");
}
// 默认主题色
this.setCssVar("primary", this.$profile.primaryColor);
// 进入插件