no message
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import axios from 'axios';
|
||||
import QS from 'qs';
|
||||
import { goTologin } from '@/utils/util.js'
|
||||
import {showFullScreenLoading,tryHideFullScreenLoading} from './loading'
|
||||
import { showFullScreenLoading, tryHideFullScreenLoading } from './loading'
|
||||
import store from '@/store/index';
|
||||
|
||||
axios.defaults.baseURL = 'https://app.gter.net'
|
||||
@@ -11,7 +11,7 @@ axios.defaults.withCredentials = true
|
||||
|
||||
axios.interceptors.request.use( //响应拦截
|
||||
async config => {
|
||||
if(config.url!='/tenement/pc/api/user/operation')showFullScreenLoading()
|
||||
if (config.url != '/tenement/pc/api/user/operation') showFullScreenLoading()
|
||||
// 开发时登录用的,可以直接替换小程序的 authorization
|
||||
// if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "x2mmnl9grt51bpplj2k6ioiuummzhnw3"
|
||||
if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "0h870ovk2xckoqfsh8a3t3sg4sg5z7eg"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
|
||||
|
||||
function setSeoTitle(title) {
|
||||
document.title = '港校租房-' + title
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user