xinfeng 6 лет назад
Родитель
Сommit
e59e6a192f
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      nuxt.config.js
  2. 1 1
      pages/otherpage/companyComplete/index.vue

+ 2 - 2
nuxt.config.js

@@ -117,7 +117,7 @@ module.exports = {
    */
   proxy: [
     ["/api", { target: "http://local.proginn.com", changeOrigin: true }],
-	["/list", { target: "http://jishuin.local.proginn.com", changeOrigin: true }],
+	["/list", { target: "http://dev.test-jishuin.proginn.com", changeOrigin: true }],
     [
       "/file/proxyUpload",
       { target: "https://dev.test.proginn.com", changeOrigin: true }
@@ -133,7 +133,7 @@ module.exports = {
     // [ '/programmerinnfile', { target: 'https://v0.api.upyun.com', changeOrigin: true } ],
     [
       "/upload_image",
-      { target: "http://jishuin.local.proginn.com", changeOrigin: true }
+      { target: "http://dev.test.proginn.com", changeOrigin: true }
     ],
     ["/image", { target: "https://stacdn.proginn.com", changeOrigin: true }]
   ],

+ 1 - 1
pages/otherpage/companyComplete/index.vue

@@ -129,12 +129,12 @@
       submitForm() {
         let p = {}
         if (this.dataInfo.id) {
-          this.dataInfo.logo = this.imageUrl
           p = this.dataInfo
         }
         this.inputList.forEach(item => {
           p[ item.name ] = item.value
         })
+        p.logo = this.imageUrl
         if (!p.name) {
           this.$message.warning('请输入公司全称');
           return;