Can getters of modules An of vue call state or getters of other modules?

I would like to ask you a question about a getters of vuex:

can getters of modules A call state or getters of modulesB

my question scenario is probably: use a key of modulesB to filter an array of modulesA:

The code for

modules An is roughly as follows:

const state = {
    unfilterList: []
}

const getters = {
    state => {
        const key // keymodulesBstategetters
        return state.unfilterList.filter(key)
    }
}

but I don"t know how to get the key here.
or is there a more appropriate logic to implement this requirement?
Thank you very much!

another: actions already knows
(https://codeshelper.com/a/11...)

when calling other modules"s getters and state methods.
May.13,2022

on (vuex official website) [ide/getters.html" rel=" nofollow noreferrer "> https://vuex.vuejs.org/zh/gui...] explains:

  1. call another getters in getters

  1. vuexgettersgettersid

Sorry I didn't check it clearly on vuex's official website before asking the question.

Menu