修改成下面这样 参考:https://fly.layui.com/jie/3187/ http://layer.layui.com/api.html#btn https://blog.csdn.net/qq_39643614/article/details/79677438