修改显示bug

This commit is contained in:
chorblack
2025-04-26 22:52:58 +08:00
parent 0ffce4efe1
commit 515ea8665c
2 changed files with 5 additions and 41 deletions

View File

@@ -18,15 +18,15 @@
<text class="words-preview">{{ words }}</text>
<div class="container-row-candidate">
<input type="button" value="<" class="candidate-word-button" onclick="wordsPageBack"></input>
<input type="button" value="{{ currentWords[0] }}" class="candidate-word-button"
<input type="button" value="{{ currentWords[0]||'' }}" class="candidate-word-button"
onclick="selectInput(currentWords[0])"></input>
<input type="button" value="{{ currentWords[1] }}" class="candidate-word-button"
<input type="button" value="{{ currentWords[1]||'' }}" class="candidate-word-button"
onclick="selectInput(currentWords[1])"></input>
<input type="button" value="{{ currentWords[2] }}" class="candidate-word-button"
<input type="button" value="{{ currentWords[2]||'' }}" class="candidate-word-button"
onclick="selectInput(currentWords[2])"></input>
<input type="button" value="{{ currentWords[3] }}" class="candidate-word-button"
<input type="button" value="{{ currentWords[3] ||''}}" class="candidate-word-button"
onclick="selectInput(currentWords[3])"></input>
<input type="button" value="{{ currentWords[4] }}" class="candidate-word-button"
<input type="button" value="{{ currentWords[4] ||''}}" class="candidate-word-button"
onclick="selectInput(currentWords[4])"></input>
<input type="button" value=">" class="candidate-word-button" onclick="wordsPageForward"></input>
</div>