Why does my for loop check only the first element?

前端 未结 5 1266
心在旅途
心在旅途 2021-01-29 07:36

I have this method that checks the username and password of a user before login. Now my for loop checks only the first item, it finds that the first condition, u.getRole()

5条回答
提交回复
热议问题