af-mobile-client-vue3 1.3.24 → 1.3.25
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
|
@@ -72,7 +72,7 @@ const emit = defineEmits<{
|
|
|
72
72
|
(e: string, item: any): void
|
|
73
73
|
(e: 'updateCondition', params: any): void
|
|
74
74
|
// 多选相关事件
|
|
75
|
-
(e: 'multiSelectAction', action: string, selectedItems: any[]): void
|
|
75
|
+
(e: 'multiSelectAction', action: string, selectedItems: any[], selectedItemsArray: any[]): void
|
|
76
76
|
(e: 'selectionChange', selectedItems: any[]): void
|
|
77
77
|
}>()
|
|
78
78
|
|
|
@@ -658,7 +658,7 @@ function updateActionSheetActions() {
|
|
|
658
658
|
|
|
659
659
|
function handleActionSheetSelect(action: any) {
|
|
660
660
|
showActionSheet.value = false
|
|
661
|
-
emit('multiSelectAction', action, selectedItemsArray.value)
|
|
661
|
+
emit('multiSelectAction', action, Array.from(selectedItems.value), selectedItemsArray.value)
|
|
662
662
|
|
|
663
663
|
// 执行操作后退出多选模式
|
|
664
664
|
exitMultiSelectMode()
|
|
@@ -97,8 +97,8 @@ function deleteRow(result) {
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
// 多选操作处理
|
|
100
|
-
function handleMultiSelectAction(action: string, selectedItems: any[]) {
|
|
101
|
-
console.log('多选操作:', action, selectedItems)
|
|
100
|
+
function handleMultiSelectAction(action: string, selectedItems: any[], selectedItemsArray: any[]) {
|
|
101
|
+
console.log('多选操作:', action, selectedItems, selectedItemsArray)
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
// 选择变化处理
|