修改页面成功关闭tab
This commit is contained in:
parent
0f638e7093
commit
015b7782dc
@ -46,10 +46,9 @@
|
|||||||
let callback = function (e) {
|
let callback = function (e) {
|
||||||
layer.msg(e.msg);
|
layer.msg(e.msg);
|
||||||
if (e.code == 0) {
|
if (e.code == 0) {
|
||||||
layer.confirm('修改密码成功,关闭本页面吗?', { icon: 3, title: '提示' }, function (index) {
|
setTimeout(function(){
|
||||||
TAB.sonDelete();
|
tool.tabClose();
|
||||||
layer.close(index);
|
},2000);
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tool.post("/admin/api/password_submit", data.field, callback);
|
tool.post("/admin/api/password_submit", data.field, callback);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user