no message

This commit is contained in:
A1300399510
2023-09-22 19:21:43 +08:00
parent 754a2c8f46
commit 27bb74295d
4 changed files with 66 additions and 5 deletions

View File

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

View File

@@ -1,3 +1,5 @@
function setSeoTitle(title) {
document.title = '港校租房-' + title
}