修改手机端PC端接口分离
This commit is contained in:
@@ -253,13 +253,13 @@ export default {
|
|||||||
return that.Logout({}).then(() => {
|
return that.Logout({}).then(() => {
|
||||||
// update-begin author:wangshuai date:20200601 for: 退出登录跳转登录页面
|
// update-begin author:wangshuai date:20200601 for: 退出登录跳转登录页面
|
||||||
// TODO 在部署线上时注掉以下代码
|
// TODO 在部署线上时注掉以下代码
|
||||||
// that.$router.push({ path: '/user/login' })
|
that.$router.push({ path: '/user/login' })
|
||||||
|
|
||||||
// window.location.href = 'https://signin-test.nio.com/logout?client_id=100679&redirect_uri=' +
|
// window.location.href = 'https://signin-test.nio.com/logout?client_id=100679&redirect_uri=' +
|
||||||
// encodeURIComponent('http://localhost:3000/dashboard/analysis') + '&response_type=code' //本地
|
// encodeURIComponent('http://localhost:3000/dashboard/analysis') + '&response_type=code' //本地
|
||||||
// TODO 在部署线上时解开以下代码
|
// TODO 在部署线上时解开以下代码
|
||||||
window.location.href = 'https://signin.nio.com/logout?client_id=100679&redirect_uri=' +
|
// window.location.href = 'https://signin.nio.com/logout?client_id=100679&redirect_uri=' +
|
||||||
encodeURIComponent(window.loginUrl) + '&response_type=code' //线上
|
// encodeURIComponent(window.loginUrl) + '&response_type=code' //线上
|
||||||
|
|
||||||
localStorage.removeItem('language')
|
localStorage.removeItem('language')
|
||||||
// update-end author:wangshuai date:20200601 for: 退出登录跳转登录页面
|
// update-end author:wangshuai date:20200601 for: 退出登录跳转登录页面
|
||||||
|
|||||||
Reference in New Issue
Block a user