After using vuex, computed does not trigger a view change

clipboard.png

:sidebar

:
apivuex

clipboard.png

filtersidebar

sidebarv-for

clickMenucomponentvuex

clipboard.png

what is the cause of this?

according to normal thinking, if the value of clickMenu sends a change, then v-for should re-render with the change

Mar.14,2021

state.clickMenu=state.menus.filter(
    ...
))[0]

if you have any more questions, you may need to check getter

Menu