【修改】修改图片地址

This commit is contained in:
zhoulingpo
2023-05-19 15:54:10 +08:00
parent d8319601ea
commit d4735589ef
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -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')
})
})
},
-1
View File
@@ -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
View File
@@ -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
}