diff --git a/config/prod.env.js b/config/prod.env.js index 610d466..4d307cf 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -1,6 +1,6 @@ 'use strict' module.exports = { NODE_ENV: '"production"', - BASE_API: '"http://139.198.16.38:20005"' + BASE_API: '"http://198.168.0.10:20005"' // BASE_API: '"http://192.168.8.211:20005"' } diff --git a/config/prod.env.js b/config/prod.env.js index 610d466..4d307cf 100644 --- a/config/prod.env.js +++ b/config/prod.env.js @@ -1,6 +1,6 @@ 'use strict' module.exports = { NODE_ENV: '"production"', - BASE_API: '"http://139.198.16.38:20005"' + BASE_API: '"http://198.168.0.10:20005"' // BASE_API: '"http://192.168.8.211:20005"' } diff --git a/src/main.js b/src/main.js index 3e00bc4..1a0ba3d 100644 --- a/src/main.js +++ b/src/main.js @@ -64,6 +64,9 @@ import VCharts from 'v-charts' Vue.use(VCharts) +// 配置是否启用考勤功能 +export const attendanceEnable = false + new Vue({ el: '#app', router,