Skip to content

Commit b1dff40

Browse files
IanSavchenkoSamuell1
authored andcommitted
fix(MdRouterLink): new router-link registration name (#1978)
1 parent 383b255 commit b1dff40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/utils/MdRouterLinkProps.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export default (context, props) => {
2+
const RouterLink = context.$options.components['RouterLink'] || context.$options.components['router-link'];
23
return {
34
...props,
4-
...context.$options.components['router-link'].options.props
5+
...RouterLink.options.props
56
}
67
}

0 commit comments

Comments
 (0)