Compare commits
2 Commits
ef0f733023
...
fac9b26adf
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fac9b26adf | ||
![]() |
45d6b165f5 |
@ -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'
|
||||
|
||||
|
@ -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(() => {});
|
||||
}
|
||||
|
@ -228,6 +228,7 @@ export function getBasePath() {
|
||||
export function getPath(path) {
|
||||
// 基础路径,必须以 / 结尾
|
||||
let basePath = getBasePath();
|
||||
console.log(basePath,"basePath")
|
||||
if (!basePath.endsWith('/')) {
|
||||
return basePath + '/';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user