lex-xin 4 vuotta sitten
vanhempi
commit
e8f74da8db
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/views/visitManager/addVisit.vue

+ 1 - 1
src/views/visitManager/addVisit.vue

@@ -358,7 +358,7 @@ export default {
       }
     },
     onCheckStudent() {
-      if (this.id) {
+      if (this.id || this.userId) {
         return;
       }
       this.statusList.studentStatus = true;