How to execute an axios request in vuex and save it to vuex?

I have several interfaces that need to be used in multiple places. I want to request them in vuex as soon as possible, and then save them in vuex.
this is the code I wrote. I don"t know why it didn"t print or report an error. As shown below:

Please explain the details of the boss, the specific implementation code, my foundation is weak.

Mar.10,2021

look at the document carefully, read the document carefully, read the document carefully.

Vuex document


do not directly this.productTabs=xxx
define a

Previous: Invalid windows command line to modify color with\ 033 [31m]

Next: Can server_name be set to the ip address in nginx?

Menu