This commit is contained in:
lnn19986213 2024-03-11 09:52:51 +08:00
parent edcc5c39fe
commit aca50a0810
2 changed files with 6 additions and 6 deletions

View File

@ -20,8 +20,8 @@
this.http.request('/auth/logout', {}, "GET").then(res => { this.http.request('/auth/logout', {}, "GET").then(res => {
if (res.code == 200) { if (res.code == 200) {
uni.redirectTo({ uni.redirectTo({
url: "/pages/pageHome/shwxLogin", //h5 // url: "/pages/pageHome/shwxLogin", //h5
// url: '/pagesC/Login/Login' // url: '/pagesC/Login/Login' //
}) })
} }
}).catch(e => { }).catch(e => {

View File

@ -7,8 +7,8 @@ export default {
config: { config: {
// baseUrl: "http://192.168.2.48:8080/h5/api", //俞燕红-小程序不能配跨域 // baseUrl: "http://192.168.2.48:8080/h5/api", //俞燕红-小程序不能配跨域
// baseUrl: "/pre", //俞燕红-跨域 // baseUrl: "/pre", //俞燕红-跨域
// baseUrl: "https://yxx.ydool.net/h5/api", //线上 baseUrl: "https://yxx.ydool.net/h5/api", //线上
baseUrl: "/h5/api", //h5 // baseUrl: "/h5/api", //h5
header: { header: {
'Content-Type': 'application/json;charset=UTF-8', 'Content-Type': 'application/json;charset=UTF-8',
// 'Content-Type':'application/x-www-form-urlencoded' // 'Content-Type':'application/x-www-form-urlencoded'
@ -104,8 +104,8 @@ export default {
}); });
setTimeout(() => { setTimeout(() => {
uni.navigateTo({ uni.navigateTo({
// url: '/pagesC/Login/Login' //小程序跳转 url: '/pagesC/Login/Login' //小程序跳转
url: '/pages/pageHome/shwxLogin' //h5-山海万象跳转 // url: '/pages/pageHome/shwxLogin' //h5-山海万象跳转
}) })
}, 1200) }, 1200)