mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-02 11:50:28 +08:00
19 lines
411 B
JavaScript
19 lines
411 B
JavaScript
Tea.context(function () {
|
|
this.updateHTTP = function () {
|
|
teaweb.popup("/settings/ui/updateHTTPPopup", {
|
|
callback: function () {
|
|
teaweb.success("保存成功", teaweb.reload)
|
|
}
|
|
})
|
|
}
|
|
|
|
this.updateHTTPS = function () {
|
|
teaweb.popup("/settings/ui/updateHTTPSPopup", {
|
|
height: "26em",
|
|
width:"50em",
|
|
callback: function () {
|
|
teaweb.success("保存成功", teaweb.reload)
|
|
}
|
|
})
|
|
}
|
|
}) |