We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
src/store/modules/index.ts
files.keys().forEach(key => { if (key === './index.js') return // 应为 key === './index.ts' modules[key.replace(/(\.\/|\.ts)/g, '')] = files(key).default })
否则,在 src/store/index.ts 内
src/store/index.ts
export default new Vuex.Store({ state, actions, mutations, modules: { modules // 无法正常使用namespaced } })
The text was updated successfully, but these errors were encountered:
是的,多谢指出。
Sorry, something went wrong.
No branches or pull requests
src/store/modules/index.ts
否则,在
src/store/index.ts
内The text was updated successfully, but these errors were encountered: