bootstrap 模态框一闪而过的问题
错误代码:
<button class="btn btn-primary btn-xs" data-toggle="modal"
data-target="#myModal" οnclick="toUpdate(${c.id})">修改</button>
在button标签里添加type=“button”,问题解决
参考:https://blog.csdn.net/u011233568/article/details/104427821
错误代码:
<button class="btn btn-primary btn-xs" data-toggle="modal"
data-target="#myModal" οnclick="toUpdate(${c.id})">修改</button>
在button标签里添加type=“button”,问题解决
参考:https://blog.csdn.net/u011233568/article/details/104427821