[Vue warn]: Property or method "$store" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.
[Vue warn]:属性或方法“$store”未在实例上定义,但在渲染期间引用。通过初始化该属性,确保该属性在数据选项中或在基于类的组件中是反应性的。
获取不到store
因为vuex下载 默认是vuex4版本 下载vuex3版本即可