Commit fee526b6 authored by 5359's avatar 5359

修改参数配置

parent 43f701e1
Pipeline #6304 failed with stages
......@@ -8,7 +8,7 @@
"dev": "cross-env CONFIG_ENV=dev webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev",
"build:uat": "cross-env CONFIG_ENV=uat node build/build.js",
"build": "cross-env CONFIG_ENV=prod node build/build.js",
"build": "cross-env CONFIG_ENV=dev node build/build.js",
"clean": "rimraf www/*"
},
"dependencies": {
......
......@@ -42,15 +42,15 @@ import { post, get } from './scripts/hlsHttp'
import hlsUtil from './scripts/hlsUtil'
// if (process.env.CONFIG_ENV === 'uat') {
// const VConsole = require('vconsole')
// new VConsole() // eslint-disable-line
// }
if (process.env.CONFIG_ENV === 'dev') {
const VConsole = require('vconsole')
new VConsole() // eslint-disable-line
}
Vue.use(directives)
Vue.use(filter)
//
//
import axios from 'axios'
Vue.prototype.$api = axios;
/**
......@@ -114,4 +114,4 @@ new Vue({
},
},
render: h => h(App),
}).$mount('#app-box')
\ No newline at end of file
}).$mount('#app-box')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment