学习问答
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
size="small"
|
size="small"
|
||||||
placeholder="请输入问题/提问人员"
|
placeholder="请输入问题/提问人员"
|
||||||
clearable
|
clearable
|
||||||
v-throttle="() => {search.current = 1, getList()}"
|
v-throttle="() => {getListInit()}"
|
||||||
@clear="search.content = '', getListInit()"
|
@clear="search.content = '', getListInit()"
|
||||||
suffix-icon="iconfont iconSearch">
|
suffix-icon="iconfont iconSearch">
|
||||||
</el-input>
|
</el-input>
|
||||||
@@ -82,7 +82,7 @@ export default {
|
|||||||
getList() {
|
getList() {
|
||||||
this.search.startTime = ''
|
this.search.startTime = ''
|
||||||
this.search.endTime = ''
|
this.search.endTime = ''
|
||||||
if(this.time.length) {
|
if(this.time && this.time.length) {
|
||||||
this.search.startTime = this.time[0]
|
this.search.startTime = this.time[0]
|
||||||
this.search.endTime = this.time[1]
|
this.search.endTime = this.time[1]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user