摘要: 1、父传子@State和@Prop 父组件 // 导入子组件 import Child01 from '../components/Child01' @Entry @Component struct StateExample { @State count: number = 0 build() { 阅读全文
posted @ 2024-04-05 02:30 我也有梦想呀 阅读(552) 评论(0) 推荐(0)