Antd form form submit reload interface problem

problem description

When

antd form submit is submitted, when the url access address is xxx.com/-sharp/, the submission is always unsuccessful, the page is reloaded, and the address bar url will be changed to xxx.com/?-sharp/ before the data can be submitted. Has anyone encountered this problem?

as shown in figure: before submission

:

Form:

after the address bar is changed, the data can be submitted normally. If the address bar is accessed for the first time, it can be accessed normally by xxx.com/?-sharp/. Excuse me, what is the reason at this time?

Sep.08,2021

paste the code, or I don't know why


has been resolved. In the form form callback function, first stop the browser's default behavior: e.preventDefault ();. I don't know why, but I can do it later

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36cc0-2c05c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36cc0-2c05c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?