Vue中.sync修饰符的用法

应用场景 在实际开发过程中,有可能出现这样的场景: 存在父子组件,假设父组件名为:ParentComponent,子组件名为:ChildComponent 在父组件ParentComponent中定义