Compare commits

...

2 Commits

Author SHA1 Message Date
Vinjor
fac9b26adf Merge branch 'master' of http://122.51.230.86:3000/dianliang/lanan-system-vue 2024-10-23 13:16:57 +08:00
Vinjor
45d6b165f5 bug 2024-10-23 13:16:43 +08:00
3 changed files with 6 additions and 5 deletions

View File

@ -2,15 +2,15 @@
NODE_ENV = 'production'
# 页面标题
VUE_APP_TITLE = 芋道管理系统
VUE_APP_TITLE = "车联通"后台管理系统
# 芋道管理系统/生产环境
VUE_APP_BASE_API = '/prod-api'
VUE_APP_BASE_API = 'https://www.nuoyunr.com'
# 根据服务器或域名修改
PUBLIC_PATH = 'http://my-pi.com:8888/yudao-admin/'
PUBLIC_PATH = 'http://159.75.168.143:82'
# 附件请求地址前缀
VUE_APP_FILE_API = 'http://122.51.230.86:9000/'
VUE_APP_FILE_API = 'https://www.nuoyunr.com/minio/'
# 二级部署路径
VUE_APP_APP_NAME ='yudao-admin'

View File

@ -106,7 +106,7 @@ export default {
async logout() {
this.$modal.confirm('确定注销并退出系统吗?', '提示').then(() => {
this.$store.dispatch('LogOut').then(() => {
location.href = getPath('/index');
window.location.href = "http://159.75.168.143:82/yudao-admin/login";
})
}).catch(() => {});
}

View File

@ -228,6 +228,7 @@ export function getBasePath() {
export function getPath(path) {
// 基础路径,必须以 / 结尾
let basePath = getBasePath();
console.log(basePath,"basePath")
if (!basePath.endsWith('/')) {
return basePath + '/';
}