1.props验证总是报错2.相关代码:
Document
运行结果:
楼上的朋友,非常感谢你的回答!祝好!我的声望达不到 采纳答案操作 的要求。
html标签属性不识别大小写 你 propC 要写成 prop-c