前端页面

This commit is contained in:
robin
2026-02-24 19:10:27 +08:00
parent 60dc87e0f2
commit 2eb32b9f1f
59 changed files with 1537 additions and 890 deletions

View File

@@ -1,5 +1,5 @@
Tea.context(function () {
this.activeSection = "basic";
this.activeSection = this.activeSection || "basic";
this.success = NotifyReloadSuccess("保存成功");
this.signSecretVisible = false;
this.aesSecretVisible = false;
@@ -9,7 +9,7 @@ Tea.context(function () {
let targetIsOn = !this.settings.signEnabled;
if (targetIsOn) {
teaweb.confirm("html:开启后,服务端会对解析请求进行签鉴权,<span class='red'>未签名、签名无效或过期的请求都解析失败</span>,确认开启吗?", function () {
teaweb.confirm("html:开启后,服务端会对解析请求进行签鉴权,<span class='red'>未签名、签名无效或过期的请求都解析失败</span>,确认开启吗?", function () {
that.$post("/httpdns/apps/app/settings/toggleSignEnabled")
.params({
appId: that.app.id,
@@ -23,7 +23,7 @@ Tea.context(function () {
return;
}
teaweb.confirm("html:关闭后,服务端不会对解析请求进行签鉴权,可能<span class='red'>存在被刷风险</span>,确认关闭吗?", function () {
teaweb.confirm("html:关闭后,服务端不会对解析请求进行签鉴权,可能<span class='red'>存在被刷风险</span>,确认关闭吗?", function () {
that.$post("/httpdns/apps/app/settings/toggleSignEnabled")
.params({
appId: that.app.id,
@@ -109,3 +109,4 @@ Tea.context(function () {
});
};
});