This commit is contained in:
parent
edcc5c39fe
commit
aca50a0810
|
@ -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 => {
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue