feat(frontend): 用户端切换为参考站 Vue 界面

This commit is contained in:
2026-11-13 15:20:26 +08:00
parent b54802ada9
commit 01547fa0fa
594 changed files with 129226 additions and 71139 deletions
+2 -2
View File
@@ -11,9 +11,9 @@ while IFS= read -r -d '' file; do
printf '[frontend-size] %s %s 行,超过上限 %s\n' "${file#${ROOT_DIR}/}" "${lines}" "${MAX_LINES}" >&2
failed=1
fi
done < <(find "${ROOT_DIR}/frontend/src" -name '*.tsx' -not -name '*.test.tsx' -print0)
done < <(find "${ROOT_DIR}/frontend/src" -name '*.vue' -not -path '*/features/admin/*' -print0)
if ((failed != 0)); then
exit 1
fi
printf '[frontend-size] 所有 React 页面均不超过 %s 行\n' "${MAX_LINES}"
printf '[frontend-size] 所有用户端 Vue 页面均不超过 %s 行\n' "${MAX_LINES}"