search

Home  >  Q&A  >  body text

User registration function problem

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:

01.png02.png


JackieJackie1910 days ago1142

reply all(1)I'll reply

  • Jackie

    Jackie2019-10-03 19:15:53

    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

    reply
    0
  • Cancelreply