replyNo comment is required. If you comment it, you will not be able to use it after logging out.
Change the namespace. use think\facade\Session; add facade
(type='button') when it is just a button. When the onclick() event is not added, nothing will happen. And (type="submit") will submit the form to the server
I also encountered this problem, please comment this part.
(type='button') when it is just a button. When the onclick() event is not added, nothing will happen. And (type="submit") will submit the form to the server
Check whether the button has added a listening event. Add alert() function check to the listening code