Skip to content

Commit 6410dad

Browse files
authored
fix: The select is not working properly (#1006)
1 parent dac27c0 commit 6410dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/writing.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ <h5 class="portlet__head">Webhook</h5>
860860
default:
861861
//特殊处理select类型,要保证option存在,否则取第一个option
862862
if ($e.tagName === "SELECT" &&
863-
$e.querySelector(`option[value="${conf[name]}]`) === null) {
863+
$e.querySelector(`option[value="${conf[name]}"]`) === null) {
864864
$e.value = $e.querySelector("option")?.value;
865865
conf[name] = $e.value||"";
866866
}

0 commit comments

Comments
 (0)