哈尔滨打包调整

This commit is contained in:
fan 2020-07-09 17:44:48 +08:00
parent 82c0cf200d
commit 3301d2bebf

View File

@ -214,7 +214,7 @@ export default {
return ProjectIcon[projectName];
},
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 imgMap = {
ISCS_LW: bgIscsImg,
@ -240,9 +240,6 @@ export default {
LSW: '检测教研机登录中'
};
return this.$route.query.type ? textMap[this.$route.query.type] : '';
},
isLocal() { //
return process.env.VUE_APP_PRO === 'local';
}
},
created() {
@ -270,7 +267,7 @@ export default {
},
mounted() {
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();
}
},