Bläddra i källkod

图片预览修改调整

ZhangWenQiang 6 år sedan
förälder
incheckning
7ab4c36a73

+ 3 - 3
src/views/company/modules/CompanyAuthenticationModal.vue

@@ -79,7 +79,7 @@
         url: {
           add: "/company/companyAuthentication/add",
           edit: "/company/companyAuthentication/edit",
-          imgerver: window._CONFIG['imgDomainURL'],
+          imgerver: window._CONFIG['imgDomainOssURL'],
         },
       }
     },
@@ -87,10 +87,10 @@
     },
     methods: {
       getAvatarView(){
-        return this.url.imgerver +"/"+ this.model.licenseFront;
+        return this.url.imgerver + this.model.licenseFront;
       },
       getAvatarView1(){
-        return this.url.imgerver +"/"+ this.model.otherLicense;
+        return this.url.imgerver + this.model.otherLicense;
       },
 
       add () {

+ 3 - 3
src/views/hpuser/modules/UserModal.vue

@@ -81,7 +81,7 @@
         url: {
           add: "/user/user/add",
           edit: "/user/user/edit",
-          imgerver: window._CONFIG['imgDomainURL'],
+          imgerver: window._CONFIG['imgDomainOssURL'],
         },
         sex:{},
       }
@@ -150,10 +150,10 @@
         this.close()
       },
       getCardFrontView(){
-        return this.url.imgerver +"/"+ this.model.idCardFront;
+        return this.url.imgerver + this.model.idCardFront;
       },
       getCardBackView(){
-        return this.url.imgerver +"/"+ this.model.idCardBack;
+        return this.url.imgerver + this.model.idCardBack;
       }
     }
   }