This commit is contained in:
zhuoda
2020-02-12 14:11:47 +08:00
parent 37172a5105
commit 081555c6e8
10 changed files with 19 additions and 40 deletions

View File

@@ -1,6 +1,6 @@
import Axios from 'axios';
import config from '@/config';
import { Message, Spin } from 'iview';
import { Message, Spin } from 'view-design';
import cookie from '@/lib/cookie';
// 之所以封装这个axios是因为在一些请求中无法上传信息很尴尬估计原因是继承的有问题无法携带headers
export const baseUrl = config.baseUrl.apiUrl;