Vue renders data from vuex, refresh will prompt undefined

v-for="(item, index) in dictionary.data.online_home_module" :key="index"

...mapGetters({
    dictionary: "dictionary"
})

data is available. There is also a warning when you use v-if to judge undefined, but the rendering is normal

.

how do I prevent warnings here?

Mar.02,2021

similar problems

move

Menu