Browse Source

bug修复,修改打包api为正式

guocz 2 years ago
parent
commit
800b314d9b
2 changed files with 6 additions and 6 deletions
  1. 4 4
      .env.production
  2. 2 2
      src/views/register.vue

+ 4 - 4
.env.production

@@ -2,13 +2,13 @@
 NODE_ENV = production
 
 # 64生产环境 
-VUE_APP_BASE_API = 'http://wx.hw.hongweisoft.com/veterans/company/'
+# VUE_APP_BASE_API = 'http://wx.hw.hongweisoft.com/veterans/company/'
 # 64上传地址
-VUE_APP_FILE_UPLOAD_URL = 'https://wx.hw.hongweisoft.com/veterans/file/upload/single/minio'
+# VUE_APP_FILE_UPLOAD_URL = 'https://wx.hw.hongweisoft.com/veterans/file/upload/single/minio'
 
 # 正式api
-# VUE_APP_BASE_API = 'http://api.veterans.hongweisoft.com/company/'
+VUE_APP_BASE_API = 'http://api.veterans.hongweisoft.com/company/'
 # 正式上传地址
-# VUE_APP_FILE_UPLOAD_URL = 'http://api.veterans.hongweisoft.com/file/upload/single/minio'
+VUE_APP_FILE_UPLOAD_URL = 'http://api.veterans.hongweisoft.com/file/upload/single/minio'
 
 

+ 2 - 2
src/views/register.vue

@@ -165,7 +165,7 @@
                 ><el-form-item label="" prop="email">
                   <div class="inner-wrap">
                     <el-input
-                      v-model="form.email"
+                      v-model.trim="form.email"
                       placeholder="邮箱"
                     ></el-input>
                   </div> </el-form-item
@@ -176,7 +176,7 @@
                     <el-select
                       style="display: inline-block"
                       v-model="form.trade"
-                      placeholder="请选择法人性质"
+                      placeholder="请选择所属行业"
                     >
                       <el-option
                         v-for="item in trade"