local-test打包调整

This commit is contained in:
fan 2022-07-15 16:23:38 +08:00
parent c188d28caf
commit 65cb35036d

View File

@ -219,7 +219,7 @@ export default {
project() {
const project = this.$route.query.project;
const split = this.$route.path.split('/')[1];
if (process.env.VUE_APP_PRO) {
if (process.env.VUE_APP_PRO && process.env.Vue_APP_PRO !== 'local-test') {
return localPackageProject[process.env.VUE_APP_PRO + split];
} else if (split == 'design') {
return project ? split + project : split;