|
@@ -119,8 +119,8 @@ export default {
|
|
"https://ecs.qmth.com.cn:8878/electron-config/" + nameJson.name + ".js"
|
|
"https://ecs.qmth.com.cn:8878/electron-config/" + nameJson.name + ".js"
|
|
)).data;
|
|
)).data;
|
|
|
|
|
|
- //如果配置中配置了 checkRomateControl:true
|
|
|
|
- if (electronConfig.otherConfig.checkRomateControl) {
|
|
|
|
|
|
+ //如果配置中配置了 checkRemoteControl:true
|
|
|
|
+ if (electronConfig.otherConfig.checkRemoteControl) {
|
|
nodeRequire("node-cmd").get("Project1.exe", function(data) {
|
|
nodeRequire("node-cmd").get("Project1.exe", function(data) {
|
|
var applicationNames = fs.readFileSync(
|
|
var applicationNames = fs.readFileSync(
|
|
"remoteApplication.txt",
|
|
"remoteApplication.txt",
|
|
@@ -136,11 +136,11 @@ export default {
|
|
duration: 30
|
|
duration: 30
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
- this.disableLoginBtn = false;
|
|
|
|
|
|
+ that.disableLoginBtn = false;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|
|
- this.disableLoginBtn = false;
|
|
|
|
|
|
+ that.disableLoginBtn = false;
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
this.disableLoginBtn = false;
|
|
this.disableLoginBtn = false;
|