demo
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your tests
npm run test
Lints and fixes files
npm run lint
多级组件数据传递说明
- 可以在中间组件中绑定$attrs 和 $listeners 来实现对属性和自定义事件的转发