This commit is contained in:
lnn19986213 2024-02-02 14:51:57 +08:00
parent f739e898fa
commit adb80b05c2
2 changed files with 6 additions and 6 deletions

View File

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

View File

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