Vuex TypeError: Cannot read property 'commit' of undefined

clipboard.png

box.vue


js


clipboard.png

called in the above way, the modal box pops up after the call, and the OK button in the modal box is clicked to transfer the data in the modal box to the current component, but keep reporting commit not defined

using vuex commit.
 successBtn () {
     this.show = false,
     this.addMemberList = this.resultList;
     conole.log(this);
     elf.$store.commit("addMemberList", this.addMemberList);
 },

print this, found that there is no store object, find the reason

in addition, check
in the created of the custom component

    created () {
        self = this;
    }

still can"t get the store object
find the reason

Nov.08,2021

imported store, no

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-1b4391f-2c696.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-1b4391f-2c696.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?