Files
EdgeAdmin/web/views/@default/settings/ui/index.js
2020-10-15 16:41:32 +08:00

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)
}
})
}
})