-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.5.5
Environment
any
Reproduction link
Steps to reproduce
Add a router-link or anything that need access to the vue-app in description or message.
notification.error({
message: 'Problem',
description: h => h('router-link', { props: { to: '/foo' } }, 'Go to /foo')
})What is expected?
The component should render and behave properly.
What is actually happening?
[Vue warn]: Error in render: "TypeError: router is undefined
found in
---> <RouterLink>
<Anonymous>
<TransitionGroup>
<Anonymous>
<Root>