收藏加载界面 详情页求房源增加数组判断

This commit is contained in:
2023-08-09 18:18:48 +08:00
parent c236121b78
commit 9d2af8cd5b
4 changed files with 97 additions and 46 deletions

View File

@@ -11,7 +11,7 @@ axios.defaults.withCredentials = true
axios.interceptors.request.use( //响应拦截
async config => {
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"