解决sweetalert插件中不能添加两个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了
原文地址:https://www.cnblogs.com/Qi-lin-news/p/7210890.html