首页
css3教程
html5教程
vue手册
php手册
MySQL手册
redis手册
jQuery手册
位置:
vue手册
->
vue API文档
vue 依赖注入 API
provide()
提供一个可以由后代组件注入的值。
inject()
注入由祖先组件或应用程序提供的值