Skip to content

Commit 4a92ff9

Browse files
committed
style: prettier code
1 parent b30a316 commit 4a92ff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-menu/InjectExtraProps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function wrapWithConnect(WrappedComponent) {
1414
setup(props) {
1515
provide(injectExtraPropsKey, undefined); // 断掉 injectExtraPropsKey 的依赖
1616
const injectExtraProps = injectExtraPropsKey ? inject(injectExtraPropsKey, () => ({})) : {};
17-
watch(injectExtraProps, ()=>{
17+
watch(injectExtraProps, () => {
1818
// 神奇的问题,vue 3.0.3 之后,没能正确响应式,暂时加个 watch hack 一下
1919
});
2020
return {

0 commit comments

Comments
 (0)