mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix: respect namespaced in store module (#5189)
This commit is contained in:
parent
1ea86617ca
commit
9e1ef888d8
@ -82,6 +82,10 @@ function resolveStoreModules(moduleData, filename) {
|
|||||||
for (const property of VUEX_PROPERTIES) {
|
for (const property of VUEX_PROPERTIES) {
|
||||||
mergeProperty(storeModule, moduleData[property], property)
|
mergeProperty(storeModule, moduleData[property], property)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (moduleData.namespaced === false) {
|
||||||
|
delete storeModule.namespaced
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function normalizeRoot(moduleData, filePath) {
|
function normalizeRoot(moduleData, filePath) {
|
||||||
|
Loading…
Reference in New Issue
Block a user