mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-10 17:30:29 +08:00
13 lines
312 B
JavaScript
13 lines
312 B
JavaScript
Tea.context(function () {
|
|
// 创建重写规则
|
|
this.createRewriteRule = function () {
|
|
teaweb.popup("/servers/server/settings/rewrite/createPopup?webId=" + this.webId, {
|
|
height: "26em",
|
|
callback: function () {
|
|
teaweb.success("保存成功", function () {
|
|
teaweb.reload()
|
|
})
|
|
}
|
|
})
|
|
}
|
|
}) |