Reuse of vue form components

in a background management system, there is a requirement for the user to fill out the form and then wait for the administrator to review it. After the audit is successful, the user can view the details of the form. This form is almost exactly the same as the form page for viewing the details. It is a form page that needs to be filled out by the user, and the other is to echo the form page filled out by the user. Do you need to write two on this form page? You can still write one and reuse it. If you reuse it, how should it be reused? do you have any demo recommendations? I have been perplexed by this question for a long time recently. I would like to ask God to help answer the question. Thank you very much.

Jul.21,2021

ele.me, iview, adminvue are a lot of


this is to write a reuse, use a flag to mark whether you need to fill in or need to echo, it is very simple


https://codeshelper.com/a/11.. This should meet your requirements

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