diff --git a/.env.development b/.env.development index 09628d1..023afc4 100644 --- a/.env.development +++ b/.env.development @@ -12,7 +12,7 @@ VITE_DROP_CONSOLE = true # 跨域代理,可以配置多个,请注意不要换行 #VITE_PROXY = [["/appApi","http://localhost:8001"],["/upload","http://localhost:8001/upload"]] -VITE_PROXY=[["/api","http://192.168.124.203:8081/api"]] +VITE_PROXY=[["/api","http://127.0.0.1:8081/api"]] # API 接口地址 VITE_GLOB_API_URL = diff --git a/src/views/login/RegisterForm.vue b/src/views/login/RegisterForm.vue index e9b1a9c..1d82de3 100644 --- a/src/views/login/RegisterForm.vue +++ b/src/views/login/RegisterForm.vue @@ -4,12 +4,12 @@ :show-label="false" :show-require-mark="false" size="large" - :model="formInline" + :model="formData" :rules="rules" class="register-form" > - +