长兴技校不展示设计平台&环境参数判断调整
This commit is contained in:
parent
65cb35036d
commit
2125809e41
@ -925,8 +925,8 @@ export const goOtherPlatformMenu = {
|
|||||||
designunittecsty: '/login?project=unittecsty',
|
designunittecsty: '/login?project=unittecsty',
|
||||||
richorhhcj: '/design/login?project=richorhhcj',
|
richorhhcj: '/design/login?project=richorhhcj',
|
||||||
designrichorhhcj: '/login?project=richorhhcj',
|
designrichorhhcj: '/login?project=richorhhcj',
|
||||||
richorcxjs: '/design/login?project=richorcxjs',
|
// richorcxjs: '/design/login?project=richorcxjs',
|
||||||
designrichorcxjs: '/login?project=richorcxjs',
|
// designrichorcxjs: '/login?project=richorcxjs',
|
||||||
teaching: '/design/login?project=teaching',
|
teaching: '/design/login?project=teaching',
|
||||||
designteaching: '/login?project=teaching'
|
designteaching: '/login?project=teaching'
|
||||||
};
|
};
|
||||||
|
@ -219,7 +219,7 @@ export default {
|
|||||||
project() {
|
project() {
|
||||||
const project = this.$route.query.project;
|
const project = this.$route.query.project;
|
||||||
const split = this.$route.path.split('/')[1];
|
const split = this.$route.path.split('/')[1];
|
||||||
if (process.env.VUE_APP_PRO && process.env.Vue_APP_PRO !== 'local-test') {
|
if (process.env.VUE_APP_PRO && process.env.VUE_APP_PRO !== 'local-test') {
|
||||||
return localPackageProject[process.env.VUE_APP_PRO + split];
|
return localPackageProject[process.env.VUE_APP_PRO + split];
|
||||||
} else if (split == 'design') {
|
} else if (split == 'design') {
|
||||||
return project ? split + project : split;
|
return project ? split + project : split;
|
||||||
|
Loading…
Reference in New Issue
Block a user