mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-17 14:20:25 +08:00
[系统设置]增加界面设置,可以定制系统名称等
This commit is contained in:
19
web/views/@default/settings/server/index.js
Normal file
19
web/views/@default/settings/server/index.js
Normal file
@@ -0,0 +1,19 @@
|
||||
Tea.context(function () {
|
||||
this.updateHTTP = function () {
|
||||
teaweb.popup("/settings/server/updateHTTPPopup", {
|
||||
callback: function () {
|
||||
teaweb.success("保存成功", teaweb.reload)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
this.updateHTTPS = function () {
|
||||
teaweb.popup("/settings/server/updateHTTPSPopup", {
|
||||
height: "26em",
|
||||
width:"50em",
|
||||
callback: function () {
|
||||
teaweb.success("保存成功", teaweb.reload)
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user