Vue 3.0 provide 传值到子组件 inject 获取不到值 onMounted( () => { provide('test', 'winyh') }) 如果 test 值不存在时等到存在了再渲染