Skip to content
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

自定义信息窗口 .vue里无法使用vuex #664

Open
Driverdily opened this issue Oct 28, 2021 · 0 comments
Open

自定义信息窗口 .vue里无法使用vuex #664

Driverdily opened this issue Oct 28, 2021 · 0 comments

Comments

@Driverdily
Copy link

你好,我使用了自定义信息窗口子类,直接import+components导入子.vue;可以正常显示,然后在再.vue文件中使用vuex就会报错找不到vuex。请问该如何实例化。
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_modulesNamespaceMap')
at getModuleByNamespace (vuex.esm.js?2f62:1132),
var module = store._modulesNamespaceMap[namespace];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant