style: prettier code

pull/3598/head
tangjinzhou 2021-01-24 13:22:45 +08:00
parent b30a316f4b
commit 4a92ff9cac
1 changed files with 1 additions and 1 deletions

View File

@ -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 {