彩票购票:修复清除按钮点击失效的问题

This commit is contained in:
2026-03-12 16:05:24 +08:00
parent 02816fbb03
commit cfd5345e93
@@ -204,7 +204,7 @@
onmouseout="this.style.background='#f0f6ff'; this.style.borderColor='#c0d8ef'">
机选
</button>
<button @click="selectedReds=[]; selectedBlue=null;"
<button type="button" @click.prevent="selectedReds=[]; selectedBlue=null;"
style="flex:1; padding:10px 0; border-radius:10px; font-size:13px; font-weight:bold;
background:#f9fafb; color:#6b7280; border:1.5px solid #e5e7eb;
cursor:pointer; transition:all .15s; font-family:inherit;"