update BaseSearchForm
This commit is contained in:
@@ -17,7 +17,7 @@ const http = axios.create({
|
||||
http.interceptors.request.use(config => {
|
||||
config.headers['Accept-Language'] = Cookies.get('language') || 'zh-CN'
|
||||
config.headers['token'] = Cookies.get('token') || ''
|
||||
console.log('[request interceptor] token is:', config.headers['token'])
|
||||
// console.log('[request interceptor] token is:', config.headers['token'])
|
||||
// 默认参数
|
||||
var defaults = {}
|
||||
// 防止缓存,GET请求默认带_t参数
|
||||
|
||||
Reference in New Issue
Block a user