You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repository and believe that this is not a duplicate.
Version
0.6.7
Environment
latest
Reproduction link
Steps to reproduce
import notification in a non vue file such as a vuex store
then use notification.success or others
What is expected?
no errors
What is actually happening?
Uncaught (in promise) ReferenceError: h is not defined
at Object.notice [as open] (antd.js?d678:46758)
at Object.api.(anonymous function) [as error] (webpack-internal:///./node_modules/vue-antd-ui/dist/antd.js:46802:16)
at Store._callee2$ (galaxy.js?43b8:59)
at tryCatch (runtime.js?96cf:62)
at Generator.invoke [as _invoke] (runtime.js?96cf:296)
at Generator.prototype.(anonymous function) [as next] (webpack-internal:///./node_modules/regenerator-runtime/runtime.js:114:21)
at step (asyncToGenerator.js?3040:10)
at _next (asyncToGenerator.js?3040:25)
I'm trying to replicate this action from a react redux duck
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
lockbot
locked as resolved and limited conversation to collaborators
Jul 6, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
0.6.7
Environment
latest
Reproduction link
Steps to reproduce
import notification in a non vue file such as a vuex store
then use notification.success or others
What is expected?
no errors
What is actually happening?
Uncaught (in promise) ReferenceError: h is not defined
at Object.notice [as open] (antd.js?d678:46758)
at Object.api.(anonymous function) [as error] (webpack-internal:///./node_modules/vue-antd-ui/dist/antd.js:46802:16)
at Store._callee2$ (galaxy.js?43b8:59)
at tryCatch (runtime.js?96cf:62)
at Generator.invoke [as _invoke] (runtime.js?96cf:296)
at Generator.prototype.(anonymous function) [as next] (webpack-internal:///./node_modules/regenerator-runtime/runtime.js:114:21)
at step (asyncToGenerator.js?3040:10)
at _next (asyncToGenerator.js?3040:25)
I'm trying to replicate this action from a react redux duck
export const getAdtypes = query => ({
type: GET_STUFF,
promise: Api.getStuff(query),
meta: {
onFailure: () => {
notification.error({
message: 'Server error while getting stuff.',
});
},
},
});
The text was updated successfully, but these errors were encountered: