26 lines
693 B
JavaScript
26 lines
693 B
JavaScript
Tea.context(function () {
|
||
if (typeof this.health == "undefined") {
|
||
this.health = {
|
||
keySyncRate: 1.0,
|
||
decryptFailRate: 0.0
|
||
};
|
||
}
|
||
|
||
if (typeof this.echLogs == "undefined") {
|
||
this.echLogs = [];
|
||
}
|
||
|
||
this.openMfaRollback = function (logId) {
|
||
teaweb.popup("/httpdns/ech/rollbackMfaPopup?logId=" + logId, {
|
||
height: "26em",
|
||
width: "48em",
|
||
title: "全域安全受控降级告警:双人MFA授权",
|
||
callback: function () {
|
||
teaweb.success("保存成功", function () {
|
||
teaweb.reload();
|
||
});
|
||
}
|
||
});
|
||
};
|
||
});
|