瀏覽代碼

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

ali 2 年之前
父節點
當前提交
7caaab57f1
共有 1 個文件被更改,包括 14 次插入 和 0 次删除
  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',