1.将html属性设置为true
2.将sweetalert.min.js文件中
<input type="text" tabIndex="3" />
修改为
<input id="swalInput" type="text" tabIndex="3" />
3.将sweetalert.css文件中.sweet-alert input { 修改为 .sweet-alert #swalInput {
4.这样就可以添加多个input了
1.将html属性设置为true
2.将sweetalert.min.js文件中
<input type="text" tabIndex="3" />
修改为
<input id="swalInput" type="text" tabIndex="3" />
3.将sweetalert.css文件中.sweet-alert input { 修改为 .sweet-alert #swalInput {
4.这样就可以添加多个input了