Use of .mapState in Vuex computed is not defined

store. MapState using vuex is not defined;
is scaffolding built with vue-cli. Babel plugins all have
what is the problem


 ...mapstate  
Sep.16,2021

is mapGetters not mapState, use needs to introduce
import {mapGetters} from "vuex";


vuex you need to introduce
because you didn't introduce it, so you reported an error

.
import { mapState } from 'vuex';

see the official mapState helper function ide/state.html-sharpmapstate-%E8%BE%85%E5%8A%A9%E5%87%BD%E6%95%B0" rel=" nofollow noreferrer "> link description

for details.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c340-346a5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c340-346a5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?