mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
fix(vue-app): var names shadowing in chrome debugger (#7939)
* fix: var names shadowing in debug * fix: new appropriate variable name Co-authored-by: florent.catiau <florent.catiau@veepee.com>
This commit is contained in:
parent
11646ba2f6
commit
51b037fea6
@ -94,10 +94,10 @@ function resolveStoreModules (moduleData, filename) {
|
||||
// If src is a known Vuex property
|
||||
if (VUEX_PROPERTIES.includes(moduleName)) {
|
||||
const property = moduleName
|
||||
const storeModule = getStoreModule(store, namespaces, { isProperty: true })
|
||||
const propertyStoreModule = getStoreModule(store, namespaces, { isProperty: true })
|
||||
|
||||
// Replace state since it's a function
|
||||
mergeProperty(storeModule, moduleData, property)
|
||||
mergeProperty(propertyStoreModule, moduleData, property)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user