Commit 02caf15b authored by derong.zhang's avatar derong.zhang

Cookie

parent ab70096c
...@@ -5,8 +5,8 @@ import localStorage from './localStorage.service' ...@@ -5,8 +5,8 @@ import localStorage from './localStorage.service'
// window.Promise = require('es6-promise').Promise // window.Promise = require('es6-promise').Promise
const config = { const config = {
timeout: 600000 timeout: 600000,
// withCredentials: true // 允许携带cookie withCredentials: true // 允许携带cookie
} }
const instance = axios.create(Object.assign({}, config)) const instance = axios.create(Object.assign({}, config))
instance._extend = {} instance._extend = {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment