src/views/doctor/examination/index.vue
@@ -12,6 +12,7 @@ v-model="queryParams.name" placeholder="请输入姓名" clearable @blur="queryParams.name = queryParams.name.trim()" @keyup.enter.native="handleQuery" style="width: 110px" /> @@ -752,6 +753,7 @@ /** 搜索按钮操作 */ handleQuery() { this.queryParams.name = this.queryParams.name.trim(); // 去除空格 this.queryParams.page = 1; this.getList(); },