学习问答
This commit is contained in:
@@ -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">
|
||||
</el-input>
|
||||
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user