删除岗位对余的弹层

This commit is contained in:
hdm 2022-08-24 23:28:19 +08:00
parent 0d58390441
commit 22a70e38fd

View File

@ -99,7 +99,6 @@
icon: 3, icon: 3,
title: '提示' title: '提示'
}, function (index) { }, function (index) {
layer.confirm('确定要删除吗?', {icon: 3, title:'提示'}, function(index){
let callback = function (e) { let callback = function (e) {
layer.msg(e.msg); layer.msg(e.msg);
if (e.code == 0) { if (e.code == 0) {
@ -109,7 +108,6 @@
tool.delete("/user/position/delete", { id: obj.data.id }, callback); tool.delete("/user/position/delete", { id: obj.data.id }, callback);
layer.close(index); layer.close(index);
}); });
});
} }
}); });
} }