单向数据流

1.单向数据流

父组件传递给子组件过去的,不能修改的,只能使用

Xiao.js

XiaoItem.js

可以看到页面报错:

 

posted @ 2020-06-29 15:06  GumpYan  阅读(247)  评论(0编辑  收藏  举报