因为字符串模板不能被vue所渲染,所以这种方式行不通。
父组件
for="(v,index) in commentList" :key="index" :commentId="v"/>
子组件
用户1 : 评论内容 回复评论