How are vue form components reused in restful-style create and edit pages?

how are vue form components reused in restful-style create and edit pages?
is there any sample code to look at?

May.31,2021

can you paste the specific code


this is an initial value problem, if it is create, then there is no id, after the url is all empty at this time, if it is edit, then url will have id, to get the data assignment to the form. When submitting, one calls the create interface, the other calls the edit interface. You can even call the same interface, and the backend determines whether the id is empty or not.

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