Between parent and child components: Click the button to pop up a dialog box to upload data. After the child component closes the dialog box, the uploaded data has a cache problem
Between parent and child components: Click the button to pop up a dialog box to upload data. After the child component closes the dialog box, the uploaded data has a cache problem
Application scenario: Check the data that needs to be operated on page A - click the button on page A - dialog B pops up - close dialog B - when returning to page A again, the checked state remains - open dialog B again - in B The list data still exists
Solution: communicate between parent and child, launch events through child components, parent component rewrites a method to close the pop-up window for the events of child components