diff --git a/src/App.vue b/src/App.vue index ee57b65..dc19361 100644 --- a/src/App.vue +++ b/src/App.vue @@ -83,7 +83,7 @@ export default defineComponent({ this.runCronTask(featureCode, cronExp); }); // 快捷命令服务 - if (this.nativeProfile.apiServerStatus) { + if (this.nativeProfile.apiServerStatus && this.profile.apiServerEnable) { window.quickcommandHttpServer().run(this.profile.apiServerPort); console.log("Server Start..."); }