import ElementUI from 'element-ui'; export default { devBaseUrl: 'http://www.geekhelp.cn/bmy/api/admin', testBaseUrl: 'http://47.114.153.249:3000/api/json', prodBaseUrl: 'http://47.114.153.249:3000/api/json', ApiList: { login: '/adminLogin', allCourse: '/getAllCourse', getUploadToken: '/token' }, VuePlugIn: [ ElementUI ], getUrl () { switch (process.env.NODE_ENV) { case 'development': return this.devBaseUrl // eslint-disable-next-line no-unreachable break case 'test': return this.testBaseUrl break case 'production': return this.prodBaseUrl break } } }