我在我的存储操作中使用了Axios,并希望基于某种状态设置Axios标头(以更改接受语言的请求标头)。当尝试访问导出外部的存储时,我得到一个错误“无法找到未定义的属性状态”。我的store/index.js文件: import Vue from "vue";import Axios from "axios";
Vue.use(<
These Stores Are Modularised, please reference: [https://vuex.vuejs.org/guide/modules.html] for details. modules: { surfSites: surfSites, console.log(`Resettin