修复中文翻译不生效的问题
This commit is contained in:
parent
9e2ae680ec
commit
738225a28d
@ -28,8 +28,7 @@ export async function loadTranslations(locale = 'en') {
|
||||
|
||||
const promise = jingrowRequest({
|
||||
url: '/api/action/jingrow.translate.get_app_translations',
|
||||
method: 'GET',
|
||||
params: { _lang: locale }
|
||||
method: 'GET'
|
||||
})
|
||||
.then((response) => {
|
||||
translations.value = response || {};
|
||||
|
||||
@ -47,6 +47,7 @@ ALLOWED_PATHS = [
|
||||
"/api/action/jingrow.core.pagetype.user.user.test_password_strength",
|
||||
"/api/action/jingrow.core.pagetype.user.user.update_password",
|
||||
"/api/action/get_central_migration_data",
|
||||
"/api/action/jingrow.translate.get_app_translations",
|
||||
]
|
||||
|
||||
ALLOWED_WILDCARD_PATHS = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user