摘要: props用法 父传子 父组件给子组件传递数据 自定义属性方式 # 父组件调用子组件 注册,并使用 <hello :name="name"></hello> # 给子组件绑定自定义属性 import hello from "@/components/hello"; export default { 阅读全文
posted @ 2023-02-21 22:03 Python-moon 阅读(58) 评论(0) 推荐(0)