From e5203ecfbb9a43c7324d7c2d0be742d594b6d05c Mon Sep 17 00:00:00 2001 From: sige Date: Tue, 14 May 2024 19:29:14 +0800 Subject: [PATCH] Fix issue with actionOperationExecute function in History.vue --- src/components/Setting/components/History.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Setting/components/History.vue b/src/components/Setting/components/History.vue index b862d7a..f3b2b34 100644 --- a/src/components/Setting/components/History.vue +++ b/src/components/Setting/components/History.vue @@ -140,6 +140,9 @@ const historyDataList = computed(() => { // 条目操作 function actionOperationExecute( action ) { + if ( checkedItems.value.length === 0 ) { + return; + } if ( 'export' === action ) { settingStore.updateExportText('导出消毒记录中') settingStore.updateExportLoading(true)