学习问答

This commit is contained in:
liuye
2023-01-17 09:57:43 +08:00
parent 38bc07f0fd
commit ce36a373eb

View File

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