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) {