Browse Source

Merge branch 'master' of http://git.hghweb.ir/ali.s/palizvani-front-vite

ali 2 years ago
parent
commit
7caaab57f1
1 changed files with 14 additions and 0 deletions
  1. 14 0
      src/components/Auth/RegisterStep.vue

+ 14 - 0
src/components/Auth/RegisterStep.vue

@@ -364,6 +364,20 @@ export default {
         })
         return
       }
+      if (!this.firstname) {
+        this.$q.notify({
+          type: 'negative',
+          message: 'نام را وارد نکرده اید'
+        })
+        return
+      }
+      if (!this.lastname) {
+        this.$q.notify({
+          type: 'negative',
+          message: ' نام خانوادگی را وارد نکرده اید'
+        })
+        return
+      }
       if (this.rePassword !== this.password) {
         this.$q.notify({
           type: 'negative',