哈尔滨打包调整
This commit is contained in:
parent
82c0cf200d
commit
3301d2bebf
@ -214,7 +214,7 @@ export default {
|
|||||||
return ProjectIcon[projectName];
|
return ProjectIcon[projectName];
|
||||||
},
|
},
|
||||||
bgImg() {
|
bgImg() {
|
||||||
const bgImgAll = process.env.VUE_APP_PRO === 'local' ? '' : bgImg;
|
const bgImgAll = process.env.VUE_APP_PRO === 'local' || this.$route.query.project == 'hyd' ? '' : bgImg;
|
||||||
const synchronousLogin = ['IBP', 'LSW', 'CCTV', 'ISCS_LW', 'ISCS_CW', 'VR_PSD'];
|
const synchronousLogin = ['IBP', 'LSW', 'CCTV', 'ISCS_LW', 'ISCS_CW', 'VR_PSD'];
|
||||||
const imgMap = {
|
const imgMap = {
|
||||||
ISCS_LW: bgIscsImg,
|
ISCS_LW: bgIscsImg,
|
||||||
@ -240,9 +240,6 @@ export default {
|
|||||||
LSW: '检测教研机登录中'
|
LSW: '检测教研机登录中'
|
||||||
};
|
};
|
||||||
return this.$route.query.type ? textMap[this.$route.query.type] : '';
|
return this.$route.query.type ? textMap[this.$route.query.type] : '';
|
||||||
},
|
|
||||||
isLocal() { // 是否为本地项目
|
|
||||||
return process.env.VUE_APP_PRO === 'local';
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@ -270,7 +267,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
document.title = loginInfo[this.project].browserTitle || loginInfo[this.project].title;
|
document.title = loginInfo[this.project].browserTitle || loginInfo[this.project].title;
|
||||||
if (this.syncLogin || process.env.VUE_APP_PRO !== 'local') {
|
if (this.syncLogin || !this.project.endsWith('hyd')) {
|
||||||
this.loginRefresh();
|
this.loginRefresh();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user