Skip to content

Commit

Permalink
Optimize device search
Browse files Browse the repository at this point in the history
  • Loading branch information
SimNull1307 committed May 27, 2022
1 parent 19ab2f3 commit f39f0c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Basics/DeviceSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
</el-row>
<el-row :gutter="10">
<el-col :span="7" class="zeus-mt-10">
<el-input v-model="form.name" size="mini" placeholder="请输入设备名称"/>
<el-input v-model="form.name" size="mini" placeholder="请输入设备名称" @keyup.enter.native="search"/>
</el-col>
<el-col :span="7" class="zeus-mt-10">
<el-input v-model="form.deviceId" size="mini" placeholder="请输入设备ID"/>
<el-input v-model="form.deviceId" size="mini" placeholder="请输入设备ID" @keyup.enter.native="search"/>
</el-col>
<el-col :span="3" :offset="7" class="zeus-mt-10">
<el-button round size="mini" class="but" @click="search"><svg-icon icon-class="list_search" /> 搜索</el-button>
Expand Down

0 comments on commit f39f0c2

Please sign in to comment.