-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug Report] undefined injectedGlobalOptions #182
Comments
LuXDAmore
added a commit
to LuXDAmore/vue-request
that referenced
this issue
Jan 8, 2024
fix: undefined injectedGlobalOptions close AttoJS#182
我出现类似问题,最终发现是各个组件库依赖的vue-demi的版本不一致导致的问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug 描述 Bug description
In the usePagination function we are running into the problem that
injectedGlobalOptions
are undefined in this linepagination: (_injectedGlobalOption = injectedGlobalOptions.pagination) !== null && _injectedGlobalOption !== void 0 ? _injectedGlobalOption : {}
When just replacing
injectedGlobalOptions.pagination
withinjectedGlobalOptions?.pagination
it works.代码重现 Reproduce
I honestly dont know how to reproduce it.
期望结果 Desired result
No undefined error and breaking the code.
其他信息 Other information
The text was updated successfully, but these errors were encountered: