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] }