瀏覽代碼

Merge branch 'dwhm' of http://39.105.160.25:10880/post-project-ui/post-ui into dwhm

一盏薄酒 2 年之前
父節點
當前提交
69323cad16
共有 3 個文件被更改,包括 4 次插入3 次删除
  1. 1 1
      .env.production
  2. 2 1
      src/views/issuer/issuer2/index.vue
  3. 1 1
      vue.config.js

+ 1 - 1
.env.production

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 若依管理系统
+VUE_APP_TITLE = 若依管理系统yellow
 
 # 生产环境配置
 ENV = 'production'

+ 2 - 1
src/views/issuer/issuer2/index.vue

@@ -49,7 +49,7 @@
             <el-form-item label="上传头像:" prop="avatar">
               <el-upload
                 class="avatar-uploader"
-                action="http://localhost:80/dev-api/files/send"
+                :action="upLoadUrl"
                 accept="image/*"
                 :show-file-list="false"
                 :on-success="handleAvatarSuccess"
@@ -132,6 +132,7 @@
         row:{},
         // 按钮可见性
         createVisible:true,
+        upLoadUrl: process.env.VUE_APP_BASE_API  + "/files/send"
       };
     },
     created(){

+ 1 - 1
vue.config.js

@@ -7,7 +7,7 @@ function resolve(dir) {
 
 const CompressionPlugin = require('compression-webpack-plugin')
 
-const name = process.env.VUE_APP_TITLE || '若依管理系统' // 网页标题
+const name = process.env.VUE_APP_TITLE || '若依管理系统yellow' // 网页标题
 
 const port = process.env.port || process.env.npm_config_port || 80 // 端口