Skip to content

Commit 9ad8b42

Browse files
committed
优化WAF分组创建和修改弹窗尺寸
1 parent d99cef4 commit 9ad8b42

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

web/views/@default/servers/components/waf/group.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Tea.context(function () {
2222
// 更改分组
2323
this.updateGroup = function (groupId) {
2424
teaweb.popup("/servers/components/waf/updateGroupPopup?groupId=" + groupId, {
25+
height: "20em",
2526
callback: function () {
2627
teaweb.success("保存成功", function () {
2728
window.location.reload()

web/views/@default/servers/groups/group/settings/waf/group.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Tea.context(function () {
2222
// 更改分组
2323
this.updateGroup = function (groupId) {
2424
teaweb.popup("/servers/components/waf/updateGroupPopup?groupId=" + groupId, {
25-
height: "16em",
25+
height: "20em",
2626
callback: function () {
2727
teaweb.success("保存成功", function () {
2828
window.location.reload()

web/views/@default/servers/server/settings/waf/group.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Tea.context(function () {
3232
// 更改分组
3333
this.updateGroup = function (groupId) {
3434
teaweb.popup("/servers/components/waf/updateGroupPopup?groupId=" + groupId, {
35-
height: "16em",
35+
height: "20em",
3636
callback: function () {
3737
teaweb.success("保存成功", function () {
3838
window.location.reload()

0 commit comments

Comments
 (0)