af-mobile-client-vue3 1.5.99 → 1.5.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -235,7 +235,7 @@ function finishedBottomText() {
|
|
|
235
235
|
|
|
236
236
|
// 判断当前是否有查询参数
|
|
237
237
|
const hasQueryParams = computed(() => {
|
|
238
|
-
return Object.keys(defaultParams).length > 0 || searchValue.value || conditionParams.value
|
|
238
|
+
return Object.keys(defaultParams).length > 0 || searchValue.value || (conditionParams.value && Object.keys(conditionParams.value).some(key => conditionParams.value[key]))
|
|
239
239
|
})
|
|
240
240
|
|
|
241
241
|
onBeforeMount(() => {
|
|
@@ -421,6 +421,8 @@ function onRefresh() {
|
|
|
421
421
|
// 加载数据
|
|
422
422
|
function onLoad(defaultParams = {}) {
|
|
423
423
|
if (loading.value || (isLimitQuery && !hasQueryParams.value)) {
|
|
424
|
+
refreshing.value = false
|
|
425
|
+
finished.value = true
|
|
424
426
|
return
|
|
425
427
|
}
|
|
426
428
|
loading.value = true
|