2
0
mirror of https://github.com/acepanel/acepanel.github.io.git synced 2026-02-04 11:27:14 +08:00

fix: lint

This commit is contained in:
2025-05-29 22:05:21 +08:00
parent 86b8921565
commit f679f17a3c

View File

@@ -29,9 +29,10 @@ export const config = defineConfig({
collapsed: true,
items: [
...versions.map((version: string) => {
const locale = ''
return {
text: version,
link: "/version-" + version
link: locale ? `/${locale}/version-${version}` : `/version-${version}`
}
})
]