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.

Menu