Skip to content

Commit

Permalink
Update TextField.san
Browse files Browse the repository at this point in the history
  • Loading branch information
Dafrok committed Aug 4, 2020
1 parent e55b404 commit f2dc8d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TextField.san
@@ -1,7 +1,7 @@
<template>
<label class="text-field">
<form class="wrapper" on-submit="onSubmit">
<input value="{= word =}" placeholder="请输入需要查询的汉字">
<input type="search" value="{= word =}" placeholder="请输入需要查询的汉字">
</form>
<div class="icon loading" san-if="loading"></div>
<div class="icon search"></div>
Expand Down Expand Up @@ -82,4 +82,4 @@ export default {
@media (min-width: 640px)
.text-field
width 6rem
</style>
</style>

0 comments on commit f2dc8d9

Please sign in to comment.