【修改】修改图片地址
This commit is contained in:
@@ -96,7 +96,7 @@ export default {
|
||||
// window.open("https://caddmuat.changan.com.cn/cas/logout?service=http://10.64.23.30:7766/home", '_self');
|
||||
// 测试
|
||||
// window.open(BASE_URL.BASE_CHANGAN + "/logout?service=" + BASE_URL.BASE_LOCAL + "/login?loginType=1", '_self');
|
||||
this.$router.push('/login')
|
||||
this.$router.push('https://iam.faw-vw.com/esc-sso/logout?service=http%3A%2F%2F10.94.1.164%3A8888%2FcheckPage')
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
@@ -13,7 +13,6 @@ router.beforeEach(async (to, from, next) => {
|
||||
vue.prototype.$cookies.set("JSESSIONID", localStorage.getItem('cookie'), {expires: "7D"});
|
||||
// 不能再去登录页面
|
||||
if (to.path === '/login' ||to.path === '/loginout' ||to.path === '/checkPage') {
|
||||
|
||||
next({ path: store.getters.pathUrl })
|
||||
} else {
|
||||
next()
|
||||
|
||||
+4
-2
@@ -16,12 +16,14 @@ module.exports = {
|
||||
proxy: {
|
||||
// 配置跨域
|
||||
'/api': {
|
||||
target: 'http://localhost:7060', // 服务器
|
||||
//10.0.10.173
|
||||
//10.0.10.97
|
||||
target: 'http://10.0.10.173:7060', // 服务器
|
||||
changeOrigin: true
|
||||
},
|
||||
// 请求静态图片配置项
|
||||
'/api/home/pic': {
|
||||
target: 'http://10.94.1.164:7061', // 图片请求的nginx网址
|
||||
target: 'http://10.94.1.164:7060', // 图片请求的nginx网址
|
||||
changeOrigin: true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user