代码调整

This commit is contained in:
joylink_cuiweidong 2021-04-15 17:21:18 +08:00
parent 06635467a1
commit 957f6b08d2
6 changed files with 6 additions and 5 deletions

View File

@ -8,6 +8,7 @@ NODE_ENV = 'development'
VUE_APP_BASE_API = 'http://192.168.3.6:9000'
VUE_APP_VOICE_API = 'https://oss.joylink.club/oss/joylink'
VUE_APP_UPLOAD_API = 'https://upload.joylink.club'
VUE_APP_BASE_SITE='https://test.joylink.club/cbtc'
# VUE_APP_VOICE_API = 'http://192.168.8.110:9008'

View File

@ -6,3 +6,4 @@ VUE_APP_PRO = 'local'
VUE_APP_BASE_API = 'https://joylink.club/jlcloud'
VUE_APP_VOICE_API = 'https://joylink.club/oss/joylink'
VUE_APP_UPLOAD_API = 'https://upload.joylink.club'
VUE_APP_BASE_SITE='https://joylink.club/cbtc'

View File

@ -6,3 +6,4 @@ VUE_APP_PRO = 'ntyl'
VUE_APP_BASE_API = 'https://joylink.club/jlcloud'
VUE_APP_VOICE_API = 'https://joylink.club/oss/joylink'
VUE_APP_UPLOAD_API = 'https://upload.joylink.club'
VUE_APP_BASE_SITE='https://joylink.club/cbtc'

View File

@ -5,3 +5,4 @@ NODE_ENV = 'production'
VUE_APP_BASE_API = 'https://api.joylink.club/jlcloud'
VUE_APP_VOICE_API = 'https://oss.joylink.club/oss/joylink'
VUE_APP_UPLOAD_API = 'https://upload.joylink.club'
VUE_APP_BASE_SITE='https://joylink.club/cbtc'

View File

@ -5,3 +5,4 @@ NODE_ENV = 'test'
VUE_APP_BASE_API = 'https://test.joylink.club/jlcloud'
VUE_APP_VOICE_API = 'https://oss.joylink.club/oss/joylink'
VUE_APP_UPLOAD_API = 'https://upload.joylink.club'
VUE_APP_BASE_SITE='https://test.joylink.club/cbtc'

View File

@ -142,11 +142,7 @@ export default {
// } else {
// href = 'https://joylink.club/docs';
// }
if (process.env.NODE_ENV === 'development') {
href = 'https://test.joylink.club/cbtc/docs/';
} else {
href = 'https://joylink.club/cbtc/docs/';
}
href = process.env.VUE_APP_BASE_SITE + '/docs/';
window.open(href, '_blank');
},
goEmpty() {},