|
|
@@ -143,10 +143,19 @@
|
|
|
}
|
|
|
},
|
|
|
getAvatarView() {
|
|
|
- return this.url.imgerver + this.model.idcardFront
|
|
|
+ if( this.model.idcardFront.indexOf("http")!=-1){
|
|
|
+ return this.model.idcardFront
|
|
|
+ }else{
|
|
|
+ return this.url.imgerver + this.model.idcardFront
|
|
|
+ }
|
|
|
},
|
|
|
getAvatarView1() {
|
|
|
- return this.url.imgerver + this.model.idcardBack
|
|
|
+ if( this.model.idcardFront.indexOf("http")==-1){
|
|
|
+ return this.model.idcardBack
|
|
|
+ }else{
|
|
|
+ return this.url.imgerver + this.model.idcardBack
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
validatePhone(rule, value, callback) {
|
|
|
if (!value) {
|