2025年10月27日

vue2 封装组件使用 v-mode【el-radio,el-input】

摘要: v-model 在组件上使用,只能更改一个值。 sycn [singk] 1、在组件上使用 v-model ,父组件 v-model ,子组件接收value , $emit('value',xxxx) 2、sync [singk]. 父组件 :message属性值.sync ='xxxxx' ,,子 阅读全文

posted @ 2025-10-27 17:36 Mc525 阅读(7) 评论(0) 推荐(0)

导航