必须同时满足两个条件

This commit is contained in:
fofolee 2022-05-07 01:00:40 +08:00
parent 3cd946c305
commit b04f0ed761

View File

@ -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...");
}