提交 23b10bda 编写于 作者: lyf's avatar lyf

修改token

上级 503c0a48
...@@ -2,7 +2,9 @@ import $http from 'mn-template/plugins/http'; ...@@ -2,7 +2,9 @@ import $http from 'mn-template/plugins/http';
// 设置axios默认属性 // 设置axios默认属性
$http.setDefaults({ $http.setDefaults({
headers: {}, headers: {
token:localStorage.getItem('token')
},
}); });
// 设置http配置信息 loading、error、clear、encrypt、mockUserInfo // 设置http配置信息 loading、error、clear、encrypt、mockUserInfo
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册