Kaynağa Gözat

Update http.js

胡俊炜 2 yıl önce
ebeveyn
işleme
d24668a20b
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      src/assets/js/http.js

+ 2 - 2
src/assets/js/http.js

@@ -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;