mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-21 02:25:56 +08:00
【轻量级PR】:修复因前后端上下文语言参数名称不一致导致的BUG
This commit is contained in:
parent
ded2a32fdf
commit
b8e85b8721
@ -13,7 +13,7 @@ export let isRelogin = { show: false };
|
||||
|
||||
axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
|
||||
// 对应国际化资源文件后缀
|
||||
axios.defaults.headers['Content-Language'] = 'zh_CN'
|
||||
axios.defaults.headers['content-language'] = 'zh_CN'
|
||||
// 创建axios实例
|
||||
const service = axios.create({
|
||||
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
||||
|
||||
Loading…
Reference in New Issue
Block a user