From ce36a373eb4ca86fd6e92ca87b052393d73917c9 Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 17 Jan 2023 09:57:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E9=97=AE=E7=AD=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/fengdu/app/AppLearning/components/List.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/fengdu/app/AppLearning/components/List.vue b/project/fengdu/app/AppLearning/components/List.vue index a63efde4..95d6ae49 100644 --- a/project/fengdu/app/AppLearning/components/List.vue +++ b/project/fengdu/app/AppLearning/components/List.vue @@ -16,7 +16,7 @@ size="small" placeholder="请输入问题/提问人员" clearable - v-throttle="() => {search.current = 1, getList()}" + v-throttle="() => {getListInit()}" @clear="search.content = '', getListInit()" suffix-icon="iconfont iconSearch"> @@ -82,7 +82,7 @@ export default { getList() { this.search.startTime = '' this.search.endTime = '' - if(this.time.length) { + if(this.time && this.time.length) { this.search.startTime = this.time[0] this.search.endTime = this.time[1] }