From 8f78faa3338f47d473635b231ccf1549bc158e6a Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期三, 27 四月 2022 17:28:13 +0800 Subject: [PATCH] Fix#138326 F&Q頁面應該修正為FAQ --- PAMapp/pages/myAppointmentList/closedList.vue | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/PAMapp/pages/myAppointmentList/closedList.vue b/PAMapp/pages/myAppointmentList/closedList.vue index 4e6d18f..42a54e1 100644 --- a/PAMapp/pages/myAppointmentList/closedList.vue +++ b/PAMapp/pages/myAppointmentList/closedList.vue @@ -5,12 +5,11 @@ placeholder="隢撓���摮�" class="mb-10 pam-clientReserved-input" v-model="keyWord" - @keyup.enter.native="search" + @input="search" > <i slot="suffix" class="icon-search search cursor--pointer" - @click="search" ></i> </el-input> @@ -109,9 +108,13 @@ } else { this.filterList = this.closedList; } - this.filterList = this.filterList.filter(item => { - return item?.name?.match(this.keyWord) || item?.requirement?.match(this.keyWord) - }) + + if (this.keyWord) { + this.filterList = this.filterList.filter(item => { + return item?.name?.match(this.keyWord) || item?.requirement?.match(this.keyWord) + }) + } + } changePage(pageList: Appointment[]): void { -- Gitblit v1.8.0