af-mobile-client-vue3 1.3.25 → 1.3.26
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
|
@@ -8,6 +8,7 @@ import { executeStrFunctionByContext } from '@af-mobile-client-vue3/utils/runEva
|
|
|
8
8
|
import LoadError from '@af-mobile-client-vue3/views/common/LoadError.vue'
|
|
9
9
|
import {
|
|
10
10
|
showConfirmDialog,
|
|
11
|
+
showToast,
|
|
11
12
|
ActionSheet as VanActionSheet,
|
|
12
13
|
BackTop as VanBackTop,
|
|
13
14
|
Button as VanButton,
|
|
@@ -657,6 +658,10 @@ function updateActionSheetActions() {
|
|
|
657
658
|
}
|
|
658
659
|
|
|
659
660
|
function handleActionSheetSelect(action: any) {
|
|
661
|
+
if (Array.from(selectedItems.value).length === 0 || selectedItemsArray.value.length === 0) {
|
|
662
|
+
showToast('请选择至少一条数据')
|
|
663
|
+
return
|
|
664
|
+
}
|
|
660
665
|
showActionSheet.value = false
|
|
661
666
|
emit('multiSelectAction', action, Array.from(selectedItems.value), selectedItemsArray.value)
|
|
662
667
|
|