feat: pc restart

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages committed 2022-07-27 08:49:10 +08:00
1 parent 4d1d90a090
commit 461a87bce9
30 files changed
+198 -11

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ class MsgboxComponent: Reactor.Component {
var color = this.getColor();
var icon = this.getIcon(color);
var content = this.getContent();
var hasCancel = this.type.indexOf("error") < 0 && this.type.indexOf("nocancel") < 0;
var hasCancel = this.type.indexOf("error") < 0 && this.type.indexOf("nocancel") < 0 && this.type != "restarting";
var hasOk = this.type != "connecting" && this.type != "success" && this.type.indexOf("nook") < 0;
var hasClose = this.type.indexOf("hasclose") >= 0;
var show_progress = this.type == "connecting";