Can content editing and addition share the same template?
I have always used it this way, just make a good judgment, add no id parameter, modify it and pass one more parameter and it will be OK
It’s the same. If it’s a page, when adding it, an error will be reported because the variable is undefined.
In fact, editing is almost the same as adding. Editing is to modify the value that has been added. The fields are the same
I have always used it this way, just make a good judgment, add no id parameter, modify it and pass one more parameter and it will be OK
It’s the same. If it’s a page, when adding it, an error will be reported because the variable is undefined.
In fact, editing is almost the same as adding. Editing is to modify the value that has been added. The fields are the same