props双向绑定?v-bind.sync=''
摘要:
<template> <div> <children v-bind:title.sync="title"/> </div> </template> <script> export default { data(){ return{ title:"学习vue" } } } </script> 子组件: 阅读全文
posted @ 2022-06-15 14:55 久居我梦 阅读(84) 评论(0) 推荐(0)
浙公网安备 33010602011771号