问答 / 2 / 2 / 创建于 4年前
这是用model方法是实现的,但是这个方法更像是展示列表的
手写js应该可以。试一下直接手写modal或者调用sweetalert。
可以post获取html,layui.layer展示
function usersDetail(id) { $.post('{{route('users.detail')}}',{id:id},function (data) { layui.layer.open({ title :'用户详情, type:1, content:data, area:'500px', }) }) }
我要举报该,理由是:
手写js应该可以。试一下直接手写modal或者调用sweetalert。
可以post获取html,layui.layer展示