Browse Source

优化实名认证

master
ltlzx 4 years ago
parent
commit
ac9f0bd21b
  1. 11
      src/views/profile/certification.vue

11
src/views/profile/certification.vue

@ -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;

Loading…
Cancel
Save