编辑
        table.on('edit(currentTableFilter)', function (obj) {
            layer.load(1)
            httpPost('/admin/user/edit', obj.data).then(res => {
                if (res.status === 'ok') {
                    $message.success('保存成功');
                }
            }).finally(() => {
                table.reload('currentTableFilter')
                layer.closeAll('loading')
            })
        });

    });
</script>

</body>
</html>