feat: fix issue with build frontend failed (#8994)

This commit is contained in:
CityFun
2025-06-10 16:56:35 +08:00
committed by GitHub
parent bdeb842939
commit 708499a335

View File

@@ -70,11 +70,10 @@ const acceptParams = async (): Promise<void> => {
unUsedList.value = [];
for (const item of list) {
if (
(
!item.tags ||
(!item.tags ||
item.tags.length === 0 ||
(item.tags.length === 1 && item.tags[0].indexOf('<none>') !== -1)
) && !item.isUsed
(item.tags.length === 1 && item.tags[0].indexOf('<none>') !== -1)) &&
!item.isUsed
) {
unTagList.value.push(item);
}