Browse Source

修复

master
huxinglu 4 years ago
parent
commit
f24a096eed
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/api/api.js

+ 1
- 1
src/api/api.js View File

@@ -4,7 +4,7 @@ import { Notification,MessageBox} from 'element-ui';
import store from '../vuex'


axios.defaults.timeout = 15000
axios.defaults.timeout = 40000

//跨域请求,允许保存cookie
axios.defaults.withCredentials = true;

Loading…
Cancel
Save