显示系统信息页面禁用上一步按钮
This commit is contained in:
parent
08327ce2b3
commit
919fdefc9c
|
@ -471,9 +471,9 @@ class deployWindow {
|
|||
console.log("renderer send kylinide.installWizard.init.configSelect");
|
||||
let result = await ipcRenderer.invoke('kylinide.installWizard.init.configSelect', data);
|
||||
if (result === void 0) {
|
||||
this.prevBtn!.disabled = false;
|
||||
return;
|
||||
}
|
||||
this.prevBtn!.disabled = true;
|
||||
const parentdiv = document.getElementById('osInfo') as HTMLDivElement;
|
||||
const parentdivshow = document.getElementById('osInfoShow') as HTMLDivElement;
|
||||
parentdiv.innerHTML = "";
|
||||
|
@ -649,14 +649,10 @@ class deployWindow {
|
|||
preTab.style.display = 'none';
|
||||
this.onlineInstallTabArrayIndex = this.onlineInstallTabArrayIndex + n;
|
||||
this.showTabFromIndex(this.onlineInstallTabArray, this.onlineInstallTabArrayIndex);
|
||||
if (this.onlineInstallTabArray[this.onlineInstallTabArrayIndex] !== "onlineInstallTab2")
|
||||
this.prevBtn!.disabled = false;
|
||||
}
|
||||
}
|
||||
// if (onlineInstallTabArray[onlineInstallTabArrayIndex] === "onlineInstallTab3") {
|
||||
// this.nextBtn!.disabled = true;
|
||||
// this.nextBtn!.innerHTML = setLanguage('okStep');
|
||||
|
||||
// }
|
||||
if (this.onlineInstallTabArray[this.onlineInstallTabArrayIndex] === "onlineInstallTab4") {
|
||||
console.log("onlineInstallTab4 last");
|
||||
this.prevBtn!.disabled = true;
|
||||
|
@ -852,6 +848,8 @@ class deployWindow {
|
|||
if (this.onlineInstallTabArray[this.onlineInstallTabArrayIndex] === 'onlineInstallTab2') {
|
||||
this.nextBtn!.disabled = false;
|
||||
}
|
||||
if (this.onlineInstallTabArray[this.onlineInstallTabArrayIndex] !== "onlineInstallTab1")
|
||||
this.prevBtn!.disabled = true;
|
||||
this.showTabFromIndex(this.onlineInstallTabArray, this.onlineInstallTabArrayIndex);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue