User registration cannot be executed. After clicking the registration button, the page refreshes without any prompt. When checking the console, during the process of submitting data, it is found that the register method reports an error. The code and error screenshot are as follows:
After working on it for a long time, I finally found the problem. It turned out that the status field was not set to a default value when the data table was created. After setting the default value to 1, the data was added successfully