Commit 145b7581 by 吴娟华

'修改'

1 parent f0b54417
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vue-cli-service serve", "dev": "vue-cli-service serve",
"build": "vue-cli-service build",
"build:test": "vue-cli-service build --mode test", "build:test": "vue-cli-service build --mode test",
"build:prod": "vue-cli-service build --mode production", "build:prod": "vue-cli-service build --mode production",
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
......
let BASE_URL let BASE_URL = '/'
console.log(process)
if(process.env.NODE_ENV === 'development') { /* if(process.env.NODE_ENV === 'development') {
BASE_URL = '/' BASE_URL = '/'
}else { }else {
BASE_URL = process.env.VUE_APP_BASE_API + '/' BASE_URL = process.env.VUE_APP_BASE_API + '/'
} } */
/* let host = window.location.host
switch(host) {
case 'e-shield.didihu.com.cn':
} */
export {BASE_URL} export {BASE_URL}
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!