This commit is contained in:
fofolee 2020-06-20 19:47:24 +08:00
parent 13f2fa625c
commit 608943480c

View File

@ -105,7 +105,7 @@ const quickcommand = {
var html = `<select id="selectBox" class="swal2-select">` var html = `<select id="selectBox" class="swal2-select">`
var selectBoxNumbers = selects.length var selectBoxNumbers = selects.length
for (let i = 0; i < selectBoxNumbers; i++) { for (let i = 0; i < selectBoxNumbers; i++) {
html += `<option>${selects[i]}</option>` html += `<option value="${selects[i]}">${selects[i]}</option>`
} }
html += `</select>` html += `</select>`
var options = { var options = {