|
|
@ -286,8 +286,8 @@ export class HomeComponent implements OnInit { |
|
|
|
} else if (type === "window") { |
|
|
|
} else if (type === "window") { |
|
|
|
this.isWarningWindow = !this.isWarningWindow; |
|
|
|
this.isWarningWindow = !this.isWarningWindow; |
|
|
|
this.isWarningWindow |
|
|
|
this.isWarningWindow |
|
|
|
? this.message.success("预警窗口已开启") |
|
|
|
? this.message.success("预警弹窗已开启") |
|
|
|
: this.message.success("预警窗口已关闭"); |
|
|
|
: this.message.success("预警弹窗已关闭"); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
(err) => { |
|
|
|
(err) => { |
|
|
|