How do I submit a form using vue?

I just contacted the vue, backend and gave it to the interface. I"m not sure how to submit it with post.
looked up a lot of information and didn"t figure out how to submit it to the server.

clipboard.png

Jun.16,2021

form submission is relatively simple and has nothing to do with the framework:

<form action="xxx.php" method="post">
  <input type="text" name="id" value="10001">
  <input type="submit" value ="" />
</form>

vue said they did not provide ajax content in order to reduce the size and reduce repetition. You can use the ajax library you are familiar with or submit the form directly with native form.
refer to vuejs's official example (axios)
ide/computed.html" rel=" nofollow noreferrer "> https://cn.vuejs.org/v2/guide. listener section


form submission? form , of course.

do you want ajax to submit? vue is not available. The official recommendation is axios . Use jquery if you have jquery. The original one is also fine.

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-1e58daa-454f2.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-1e58daa-454f2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?