                }
            }).finally(() => {
                layer.closeAll('loading')
            })
        });

        table.on('tool(currentTableFilter)', function (obj) {
            var data = obj.data;
            if (obj.event === 'delete') {
                layer.confirm('你确实要删除此用户吗？', function (index) {
                    layer.load(1)
                    httpGet('/admin/user/delete?id=' + data.id).then(res => {
                        if (res.status === 'ok