style: prettier code
parent
b30a316f4b
commit
4a92ff9cac
|
@ -14,7 +14,7 @@ export default function wrapWithConnect(WrappedComponent) {
|
|||
setup(props) {
|
||||
provide(injectExtraPropsKey, undefined); // 断掉 injectExtraPropsKey 的依赖
|
||||
const injectExtraProps = injectExtraPropsKey ? inject(injectExtraPropsKey, () => ({})) : {};
|
||||
watch(injectExtraProps, ()=>{
|
||||
watch(injectExtraProps, () => {
|
||||
// 神奇的问题,vue 3.0.3 之后,没能正确响应式,暂时加个 watch hack 一下
|
||||
});
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue