chore: eslint 检查报错调整

This commit is contained in:
fit2-zhao 2024-03-12 18:45:39 +08:00 committed by Craftsman
parent 3060fe5add
commit 98aa4677b3
2 changed files with 3 additions and 0 deletions

View File

@ -304,6 +304,7 @@
}; };
} }
const storageItem = props.storageList.find((item) => item.id === props.activeFolder); 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); storageItemCount.value = props.storageList.reduce((prev, item) => prev + item.count, 0);
if (props.activeFolder === 'all') { if (props.activeFolder === 'all') {
return { return {

View File

@ -71,6 +71,7 @@
return false; return false;
} }
} }
return result;
}); });
// 线action // 线action
@ -87,6 +88,7 @@
return false; return false;
} }
} }
return result;
}); });
function selectHandler(value: SelectedValue) { function selectHandler(value: SelectedValue) {