feat(ui): i18n - init language add getSystemLanguage request

This commit is contained in:
LH_R
2025-06-17 21:19:51 +08:00
parent 155ba67ecc
commit f8fbbe4b9a
2 changed files with 32 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
import { axios } from '@/utils/request'
export function getSystemLanguage() {
return axios({
url: '/common-setting/v1/system/language',
method: 'get',
})
}