Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
yisar authored Jan 13, 2025
1 parent 0f12280 commit caf7257
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@
function App() {
return html`
<main>
<input type="text" onInput=${(e)=>name.value=e.target.value} placeholder="例:博人传" style="width:200px"></input>
<input type="text" onInput=${(e)=>name.value=e.target.value} placeholder="例:博人传" style="width:200px"></input> <button onClick=${() => onSearch()}>搜索</button>
<p>${name}</p>
<button onClick=${() => onSearch()}>搜索</button>
${animes.value.map(a=>html`<li>${a.animeTitle}<div>gv<input type="text" onInput=${(e)=>gv.value=e.target.value} placeholder="gv号"/> <button onClick=${() => onBind(a.animeId)}>绑定</button></div></li>`)}
</main>
`;
Expand Down

0 comments on commit caf7257

Please sign in to comment.