From 98aa4677b35167c3d63010bb419a7c2a2646dd87 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Tue, 12 Mar 2024 18:45:39 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20eslint=20=E6=A3=80=E6=9F=A5=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/business/ms-link-file/linkFileTable.vue | 1 + frontend/src/components/pure/ms-table-more-action/index.vue | 2 ++ 2 files changed, 3 insertions(+) diff --git a/frontend/src/components/business/ms-link-file/linkFileTable.vue b/frontend/src/components/business/ms-link-file/linkFileTable.vue index 94afb39c25..933fc45d08 100644 --- a/frontend/src/components/business/ms-link-file/linkFileTable.vue +++ b/frontend/src/components/business/ms-link-file/linkFileTable.vue @@ -304,6 +304,7 @@ }; } const storageItem = props.storageList.find((item) => item.id === props.activeFolder); + // eslint-disable-next-line vue/no-side-effects-in-computed-properties storageItemCount.value = props.storageList.reduce((prev, item) => prev + item.count, 0); if (props.activeFolder === 'all') { return { diff --git a/frontend/src/components/pure/ms-table-more-action/index.vue b/frontend/src/components/pure/ms-table-more-action/index.vue index f92e0a957e..f1584b47e0 100644 --- a/frontend/src/components/pure/ms-table-more-action/index.vue +++ b/frontend/src/components/pure/ms-table-more-action/index.vue @@ -71,6 +71,7 @@ return false; } } + return result; }); // 检测在横线之后是否有action @@ -87,6 +88,7 @@ return false; } } + return result; }); function selectHandler(value: SelectedValue) {