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

Loading…
Cancel
Save