|
|
|
@ -172,7 +172,7 @@ |
|
|
|
</ul> |
|
|
|
<upload-img |
|
|
|
class="mb-3" |
|
|
|
v-model="topForm.hand_img" |
|
|
|
v-model="topForm.front_img" |
|
|
|
required |
|
|
|
:placeholder="$t('profile.uploadPhoto')" |
|
|
|
> |
|
|
|
@ -362,10 +362,11 @@ export default { |
|
|
|
topAuth() { |
|
|
|
let data = this.topForm; |
|
|
|
if (utils.validate("#auth")) { |
|
|
|
if (!data.hand_img) { |
|
|
|
this.$message.error(this.$t("profile.uploadIDCard")); |
|
|
|
return; |
|
|
|
} |
|
|
|
// if (!data.hand_img) { |
|
|
|
// // this.$message.error(this.$t("profile.uploadIDCard")); |
|
|
|
// this.$message.error(this.$t("profile.uploadPhoto")); |
|
|
|
// return; |
|
|
|
// } |
|
|
|
if (!data.back_img) { |
|
|
|
this.$message.error(this.$t("profile.reversePhoto")); |
|
|
|
return; |
|
|
|
|