|
|
@@ -214,12 +214,12 @@
|
|
|
if (searchFormState.sortOrder > 1) {
|
|
|
searchFormState.sortOrder = 0
|
|
|
}
|
|
|
- loadData(pagination.value)
|
|
|
+ resetLoad()
|
|
|
}
|
|
|
const handleChangeVal = (value) => {
|
|
|
exType.value = false
|
|
|
searchFormState.postType = value
|
|
|
- loadData(pagination.value)
|
|
|
+ resetLoad()
|
|
|
}
|
|
|
const filterOption = (input, option) => {
|
|
|
return option.value.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
@@ -264,6 +264,7 @@
|
|
|
const tableTotal = ref(0)
|
|
|
const resetLoad = () => {
|
|
|
pagination.value.current = 1
|
|
|
+ moreText.value = '加载更多'
|
|
|
loadData(pagination.value)
|
|
|
}
|
|
|
const loadData = (parameter, a) => {
|
|
|
@@ -333,7 +334,6 @@
|
|
|
} else {
|
|
|
moreText.value = '全部加载完成'
|
|
|
}
|
|
|
- console.log('加载更多')
|
|
|
}
|
|
|
}
|
|
|
|