mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	优化WAF分组创建和修改弹窗尺寸
This commit is contained in:
		@@ -22,6 +22,7 @@ Tea.context(function () {
 | 
				
			|||||||
	// 更改分组
 | 
						// 更改分组
 | 
				
			||||||
	this.updateGroup = function (groupId) {
 | 
						this.updateGroup = function (groupId) {
 | 
				
			||||||
		teaweb.popup("/servers/components/waf/updateGroupPopup?groupId=" + groupId, {
 | 
							teaweb.popup("/servers/components/waf/updateGroupPopup?groupId=" + groupId, {
 | 
				
			||||||
 | 
								height: "20em",
 | 
				
			||||||
			callback: function () {
 | 
								callback: function () {
 | 
				
			||||||
				teaweb.success("保存成功", function () {
 | 
									teaweb.success("保存成功", function () {
 | 
				
			||||||
					window.location.reload()
 | 
										window.location.reload()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,7 +22,7 @@ Tea.context(function () {
 | 
				
			|||||||
	// 更改分组
 | 
						// 更改分组
 | 
				
			||||||
	this.updateGroup = function (groupId) {
 | 
						this.updateGroup = function (groupId) {
 | 
				
			||||||
		teaweb.popup("/servers/components/waf/updateGroupPopup?groupId=" + groupId, {
 | 
							teaweb.popup("/servers/components/waf/updateGroupPopup?groupId=" + groupId, {
 | 
				
			||||||
			height: "16em",
 | 
								height: "20em",
 | 
				
			||||||
			callback: function () {
 | 
								callback: function () {
 | 
				
			||||||
				teaweb.success("保存成功", function () {
 | 
									teaweb.success("保存成功", function () {
 | 
				
			||||||
					window.location.reload()
 | 
										window.location.reload()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -32,7 +32,7 @@ Tea.context(function () {
 | 
				
			|||||||
	// 更改分组
 | 
						// 更改分组
 | 
				
			||||||
	this.updateGroup = function (groupId) {
 | 
						this.updateGroup = function (groupId) {
 | 
				
			||||||
		teaweb.popup("/servers/components/waf/updateGroupPopup?groupId=" + groupId, {
 | 
							teaweb.popup("/servers/components/waf/updateGroupPopup?groupId=" + groupId, {
 | 
				
			||||||
			height: "16em",
 | 
								height: "20em",
 | 
				
			||||||
			callback: function () {
 | 
								callback: function () {
 | 
				
			||||||
				teaweb.success("保存成功", function () {
 | 
									teaweb.success("保存成功", function () {
 | 
				
			||||||
					window.location.reload()
 | 
										window.location.reload()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user