We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b30a316 commit 4a92ff9Copy full SHA for 4a92ff9
components/vc-menu/InjectExtraProps.js
@@ -14,7 +14,7 @@ export default function wrapWithConnect(WrappedComponent) {
14
setup(props) {
15
provide(injectExtraPropsKey, undefined); // 断掉 injectExtraPropsKey 的依赖
16
const injectExtraProps = injectExtraPropsKey ? inject(injectExtraPropsKey, () => ({})) : {};
17
- watch(injectExtraProps, ()=>{
+ watch(injectExtraProps, () => {
18
// 神奇的问题,vue 3.0.3 之后,没能正确响应式,暂时加个 watch hack 一下
19
});
20
return {
0 commit comments