Vue props value change is not heard

the value of the component changes, but it is not passed to the corresponding props property of the subcomponent

the following is the data monitored by vue-devtools

parent component data data

clipboard.png

props

clipboard.png

when the value of the props attribute is bound through v-model, and the value of the parent component visible has become true, the value in the child component props is still false

related codes

<page-dialog class="p-transfer-plan" 
                     :title="action.title" size="large" 
                     v-model="visible" @close="close" :close-on-click-modal="false">
Sep.26,2021

visible must also be passed to the child component:


model:

export default{
  model:{
    prop:'value'
  }
}
Menu