修复全局封锁名单不能创建IP的Bug/创建和修改IP可以直接选择过期时间

This commit is contained in:
GoEdgeLab
2022-07-14 10:19:45 +08:00
parent 35d8c2a6f3
commit c87c3ef5b6
15 changed files with 55 additions and 40 deletions

View File

@@ -1,7 +1,7 @@
Tea.context(function () {
this.updateItem = function (itemId) {
teaweb.popup(Tea.url(".updateIPPopup?listId=" + this.listId, {itemId: itemId}), {
height: "26em",
height: "30em",
callback: function () {
teaweb.success("保存成功", function () {
teaweb.reload()
@@ -27,7 +27,7 @@ Tea.context(function () {
*/
this.createIP = function (type) {
teaweb.popup("/servers/iplists/createIPPopup?listId=" + this.listId + '&type=' + type, {
height: "26em",
height: "30em",
callback: function () {
teaweb.success("保存成功", function () {
teaweb.reload()

View File

@@ -1,7 +1,7 @@
Tea.context(function () {
this.updateItem = function (itemId) {
teaweb.popup(Tea.url(".updateIPPopup?listId=" + this.listId, {itemId: itemId}), {
height: "26em",
height: "30em",
callback: function () {
teaweb.success("保存成功", function () {
teaweb.reload()
@@ -27,7 +27,7 @@ Tea.context(function () {
*/
this.createIP = function (type) {
teaweb.popup("/servers/iplists/createIPPopup?listId=" + this.listId + '&type=' + type, {
height: "26em",
height: "30em",
callback: function () {
teaweb.success("保存成功", function () {
teaweb.reload()

View File

@@ -24,7 +24,7 @@ Tea.context(function () {
this.updateItem = function (listId, itemId) {
teaweb.popup(Tea.url(".updateIPPopup?listId=" + listId, {itemId: itemId}), {
height: "26em",
height: "30em",
callback: function () {
teaweb.success("保存成功", function () {