支持多台服务器同时执行任务+优化页面
一个定时任务可以允许多台服务器同时执行任务,优化页面关闭并刷新列表页
This commit is contained in:
@@ -156,7 +156,7 @@
|
||||
if (out.status == 0) {
|
||||
layer.msg("操作成功",{icon: 1,shade:0.3,time:1000},function () {
|
||||
// window.history.go(-1)//
|
||||
window.location.reload()
|
||||
window.parent.deleteCurrentTab();
|
||||
})
|
||||
} else {
|
||||
layer.msg(out.message)
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
if (out.status == 0) {
|
||||
layer.msg("操作成功",{icon: 1,shade:0.3,time:1000},function () {
|
||||
//window.location.href = "/server/list"
|
||||
windwo.location.reload();
|
||||
window.parent.deleteCurrentTab();
|
||||
})
|
||||
} else {
|
||||
layer.msg(out.message)
|
||||
|
||||
@@ -155,7 +155,9 @@
|
||||
if (out.status == 0) {
|
||||
layer.msg("操作成功",{icon: 1,shade:0.3,time:1000},function () {
|
||||
// window.history.go(-1)
|
||||
window.location.reload()
|
||||
// window.location.reload()
|
||||
|
||||
window.parent.deleteCurrentTab();
|
||||
})
|
||||
} else {
|
||||
layer.msg(out.message)
|
||||
|
||||
Reference in New Issue
Block a user