Using Vue to implement a list page to jump to the details page, the data of the details page can be selected, and then click OK to return to the list page, and the data selected on the details page is displayed in the corresponding column

there is a list page as shown below:

clipboard.png

"" 1011:

clipboard.png

""
:

clipboard.png

vue


clipboard.png

Mar.20,2021

if it is a parent-child component, the parent component can pass the value to the child component through the props, and the child component can pass the value to the parent component through the emit () event callback. EventBus can also be used as a medium for communication between different components


filter data under each category can be identified


eventBus is very convenient

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