diff --git a/src/views/login.vue b/src/views/login.vue index 3693ce6..676abf7 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -89,7 +89,7 @@ export default { }, loading: false, // 验证码开关 - captchaEnabled: true, + captchaEnabled: false, // 注册开关 register: true, redirect: undefined diff --git a/vue.config.js b/vue.config.js index e54761c..ca7c483 100644 --- a/vue.config.js +++ b/vue.config.js @@ -35,7 +35,7 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://12.2.1.1`, + target: `http://12.2.1.1/prod-api`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''