In vue, the parent component nests the child component, and how the child component passes the value to the parent component

the screenshot of the application is a child component, and the preservation of my parent component requires the value of the child component. Since there are forms that need to be edited in my view, the save button is in the parent component

Mar.20,2021

this generally has two ideas

  1. the child component emit event to the parent component, taking the value up
  2. use a state container such as vuex
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-1b3e9dd-347f3.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-1b3e9dd-347f3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?