bug
This commit is contained in:
parent
983776c28d
commit
45d6b165f5
11
.env.prod
11
.env.prod
@ -2,15 +2,15 @@
|
|||||||
NODE_ENV = 'production'
|
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'
|
VUE_APP_APP_NAME ='yudao-admin'
|
||||||
|
|
||||||
@ -28,3 +28,6 @@ VUE_APP_BAIDU_CODE = fadc1bd5db1a1d6f581df60a1807f8ab
|
|||||||
|
|
||||||
# 大屏设计器服务
|
# 大屏设计器服务
|
||||||
VUE_APP_BIG_SCREEN_SERVER = 'http://127.0.0.1:3000'
|
VUE_APP_BIG_SCREEN_SERVER = 'http://127.0.0.1:3000'
|
||||||
|
|
||||||
|
#小程序推广码前缀
|
||||||
|
VUE_APP_REPAIR_PREX = 'https://www.lighting-it.cn/share?inviteId='
|
||||||
|
@ -106,7 +106,7 @@ export default {
|
|||||||
async logout() {
|
async logout() {
|
||||||
this.$modal.confirm('确定注销并退出系统吗?', '提示').then(() => {
|
this.$modal.confirm('确定注销并退出系统吗?', '提示').then(() => {
|
||||||
this.$store.dispatch('LogOut').then(() => {
|
this.$store.dispatch('LogOut').then(() => {
|
||||||
location.href = getPath('/index');
|
window.location.href = "http://159.75.168.143:82/yudao-admin/login";
|
||||||
})
|
})
|
||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
}
|
}
|
||||||
|
@ -228,6 +228,7 @@ export function getBasePath() {
|
|||||||
export function getPath(path) {
|
export function getPath(path) {
|
||||||
// 基础路径,必须以 / 结尾
|
// 基础路径,必须以 / 结尾
|
||||||
let basePath = getBasePath();
|
let basePath = getBasePath();
|
||||||
|
console.log(basePath,"basePath")
|
||||||
if (!basePath.endsWith('/')) {
|
if (!basePath.endsWith('/')) {
|
||||||
return basePath + '/';
|
return basePath + '/';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user