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