The data cannot be submitted. There is no response when I click to log in. I don’t know if it is a problem with the url path. I would like to ask the teacher for advice
replyLater, I added single quotes and found that it was still wrong. I didn’t know how to fix it. I followed the video step by step and many problems appeared.
Newbies haven’t learned how to solve this problem
replyYou didn't see that there are errors before and after ur(). It means you said {:url()} does not work. Take a look at your own configuration. Do you need to add a prefix?
Is there a missing number in the ajax request URL?
This is a screenshot of User.php under controller
This is the file directory tree
This is the Ajax of login.html under user
This is the error message from Google Chrome
Please let me know what went wrong
Take a look at the source code screenshot.
Or press F12, you can see the debugging and see if there is a request url.