This commit is contained in:
“sunzy” 2021-12-20 12:38:59 +08:00
commit 72034ece10
4 changed files with 13 additions and 2 deletions

View File

@ -2,7 +2,13 @@
NODE_ENV = 'production'
# base api
<<<<<<< HEAD
VUE_APP_BASE_API = 'https://api.joylink.club/jlcloud'
VUE_APP_VOICE_API = 'https://joylink.club/oss/joylink'
VUE_APP_UPLOAD_API = 'https://upload.joylink.club'
=======
VUE_APP_BASE_API = 'https://joylink.club/jlcloud'
VUE_APP_VOICE_API = 'https://oss.joylink.club/oss/joylink'
VUE_APP_UPLOAD_API = 'https://joylink.club/jlfile/'
>>>>>>> 151251a693a5357d34c7ebac16387ad54091622e
VUE_APP_BASE_SITE='https://joylink.club/cbtc'

View File

@ -3,6 +3,11 @@ NODE_ENV = 'test'
# base api
VUE_APP_BASE_API = 'https://test.joylink.club/jlcloud'
<<<<<<< HEAD
VUE_APP_VOICE_API = 'https://joylink.club/oss/joylink'
VUE_APP_UPLOAD_API = 'https://upload.joylink.club'
=======
VUE_APP_VOICE_API = 'https://oss.joylink.club/oss/joylink'
VUE_APP_UPLOAD_API = 'https://joylink.club/jlfile/'
>>>>>>> 151251a693a5357d34c7ebac16387ad54091622e
VUE_APP_BASE_SITE='https://test.joylink.club/cbtc'

View File

@ -29,7 +29,7 @@ class Pathfinding {
// not-recommended these days, so go ahead and start warning.
console.warn('[three-pathfinding]: Use BufferGeometry, not Geometry, to create zone.');
} else {
geometry = new Geometry().fromBufferGeometry(geometry);
geometry = new THREE.Geometry().fromBufferGeometry(geometry);
}
return Builder.buildZone(geometry);

View File

@ -140,7 +140,7 @@ export default {
return (this.$store.state.training.prdType == '01' || this.$store.state.training.prdType == '02' || this.isAdmin) && (!this.$route.query.projectDevice || this.project == 'sdy');
},
isStationSupervisor() {
return this.userRole == 'STATION_SUPERVISOR' && (!this.$route.query.projectDevice || this.project == 'sdy');
return (this.userRole == 'STATION_SUPERVISOR' && (!this.$route.query.projectDevice || this.project == 'sdy')) || this.project === 'gzb';
},
isDriver() {
return this.userRole == 'DRIVER' && !this.$route.query.projectDevice;