af-mobile-client-vue3 1.3.45 → 1.3.46
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
|
@@ -75,8 +75,8 @@ const emit = defineEmits<{
|
|
|
75
75
|
// 多选相关事件
|
|
76
76
|
(e: 'multiSelectAction', action: string, selectedItems: any[], selectedItemsArray: any[]): void
|
|
77
77
|
(e: 'selectionChange', selectedItems: any[]): void
|
|
78
|
-
//
|
|
79
|
-
(e: '
|
|
78
|
+
// 查询参数
|
|
79
|
+
(e: 'queryParams', params: any): void
|
|
80
80
|
}>()
|
|
81
81
|
|
|
82
82
|
const userState = useUserStore().getLogin()
|
|
@@ -360,6 +360,9 @@ function onLoad(defaultParams = {}) {
|
|
|
360
360
|
},
|
|
361
361
|
})
|
|
362
362
|
|
|
363
|
+
// 加载完成后,触发afterLoad事件
|
|
364
|
+
emit('queryParams', { searchVal, ...fixQueryForm, ...mergedParams })
|
|
365
|
+
|
|
363
366
|
query({
|
|
364
367
|
queryParamsName: configName,
|
|
365
368
|
pageNo: pageNo.value,
|
|
@@ -387,8 +390,6 @@ function onLoad(defaultParams = {}) {
|
|
|
387
390
|
finished.value = true
|
|
388
391
|
isError.value = true
|
|
389
392
|
}).finally(() => {
|
|
390
|
-
// 加载完成后,触发afterLoad事件
|
|
391
|
-
emit('afterLoad', { searchVal, ...fixQueryForm, ...mergedParams })
|
|
392
393
|
// 加载状态结束
|
|
393
394
|
loading.value = false
|
|
394
395
|
refreshing.value = false
|