Merge branch 'master' into test

This commit is contained in:
joylink_fanyuhong 2021-12-20 11:17:34 +08:00
commit 48e49334eb
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
NODE_ENV = 'production'
# base api
VUE_APP_BASE_API = 'https://api.joylink.club/jlcloud'
VUE_APP_BASE_API = 'https://joylink.club/jlcloud'
VUE_APP_VOICE_API = 'https://oss.joylink.club/oss/joylink'
VUE_APP_UPLOAD_API = 'https://upload.joylink.club'
VUE_APP_UPLOAD_API = 'https://joylink.club/jlfile/'
VUE_APP_BASE_SITE='https://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;