解决sweetalert插件中不能添加两个input的问题

1.将html属性设置为true

 

2.将sweetalert.min.js文件中

<input type="text" tabIndex="3" />\n   修改为
<input id="swalInput" type="text" tabIndex="3" />\n

3.将sweetalert.css文件中.sweet-alert input { 修改为 .sweet-alert #swalInput {


4.这样就可以添加多个input了
posted @ 2017-07-20 14:00  panqilin  阅读(1453)  评论(0编辑  收藏  举报