|
@@ -1,4 +1,4 @@
|
|
|
-
|
|
|
+
|
|
|
import axios from 'axios'
|
|
|
import common from "./common.js";
|
|
|
import vue from '../../components/common/bus';
|
|
@@ -10,7 +10,7 @@ axios.defaults.headers.post['Content-Type'] = 'application/json';//'multipart/fo
|
|
|
axios.interceptors.response.use(
|
|
|
response => {
|
|
|
//vue.$store.commit('endLoading');
|
|
|
- if(response.config.url.indexOf('8880')!=-1 || response.config.url.indexOf('8000')!=-1){
|
|
|
+ if(response.config.url.indexOf('8880')!=-1 || response.config.url.indexOf('8099')!=-1){
|
|
|
return response.data;
|
|
|
}else{
|
|
|
return response;
|