|
@@ -64,7 +64,7 @@ export const mapMutations = normalizeNamespace((namespace, mutations) => {
|
|
export const mapGetters = normalizeNamespace((namespace, getters) => {
|
|
export const mapGetters = normalizeNamespace((namespace, getters) => {
|
|
const res = {}
|
|
const res = {}
|
|
normalizeMap(getters).forEach(({ key, val }) => {
|
|
normalizeMap(getters).forEach(({ key, val }) => {
|
|
- // thie namespace has been mutate by normalizeNamespace
|
|
|
|
|
|
+ // The namespace has been mutated by normalizeNamespace
|
|
val = namespace + val
|
|
val = namespace + val
|
|
res[key] = function mappedGetter () {
|
|
res[key] = function mappedGetter () {
|
|
if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {
|
|
if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {
|