Click on the dynamic loading component within a page of vue?

There are multiple CheckBox, on the

page. Select one to load a component and uncheck to delete a component. ?

Select one to load one video, uncheck and delete one, and select a maximum of 9. The data given by the background CheckBox is uncertain. It seems that video.js cannot be hidden with v-show. If you hide it, you will report an error.


you can use v-if to select subcomponents, or use component: is to introduce them dynamically. Refer to the vue document


is the checkbox generated in a loop or written in a loop? The loop can be identified by the dynamic parameter id or index, and the fixed one can be identified by v-if. The id or index of a loop is the same as the fixed principle

Menu