sunlupeng 2 лет назад
Родитель
Сommit
f08ccd6b5b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/HomeView/PointsMall.vue

+ 1 - 1
src/views/HomeView/PointsMall.vue

@@ -28,7 +28,7 @@
             <el-tabs style="padding: 0 20px 40px 20px;" v-model="activeName" @tab-click="handleClick">
                 <el-tab-pane label="积分兑换" name="goodsNotice">
                     <el-input clearable style="width: 200px;" size="small" v-model="goodsName"
-                        placeholder="物品名称"></el-input>
+                        placeholder="物品名称" @blur="goodsName=$event.target.value.trim()"></el-input>
                     <el-button size="small" style="margin-left: 30px;" type="primary" @click="handleFilter">查询</el-button>
                     <div class="tab-list" style="margin-top: 10px;">
                         <div :class="{ 'tab': true, 'checked': item.checked }" v-for="(item) in options"