1. 属性的含义和用法 用this.props引用属性 用法: 1》. 键值对式: <Hello name=? /> ?可以是{。。。}或字符串“ ”,数组{[...]}, 或变量{val} 2》. 展开对象式: ……