移除 SiteResourceDialog 组件中的分页文本绑定

This commit is contained in:
jxxghp
2025-05-25 09:17:00 +08:00
parent 8b31a118da
commit 4cc2350bc6
2 changed files with 1 additions and 2 deletions

View File

@@ -186,7 +186,6 @@ onMounted(() => {
fixed-header
hover
:items-per-page-text="t('dialog.siteResource.itemsPerPage')"
:page-text="t('dialog.siteResource.pageText')"
:loading-text="t('dialog.siteResource.loading')"
class="h-full"
>

View File

@@ -39,7 +39,7 @@ export function getBrowserLocale(): SupportedLocale | null {
return navigatorLocale.includes(locale.split('-')[0])
})
return (locale as SupportedLocale) || zh-CN
return (locale as SupportedLocale) || 'zh-CN'
}
/**