diff --git a/src/views/login.vue b/src/views/login.vue index 3693ce6..791c4dc 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -90,6 +90,9 @@ export default { loading: false, // 验证码开关 captchaEnabled: true, + + + // 注册开关 register: true, redirect: undefined diff --git a/vue.config.js b/vue.config.js index d8c1782..5fa6595 100644 --- a/vue.config.js +++ b/vue.config.js @@ -37,7 +37,7 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://127.0.0.1/8080`, + target: `http://172.13.1.1/prod-api`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''