会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
胸怀丶若谷
每一天都是在我身边的最后一天
博客园
首页
新随笔
联系
订阅
管理
2021年10月2日
VueX报错:Cannot read property 'commit' of undefined
摘要: 原因 main.js文件中没有引入store 解决方案 添加如下代码即可 import store from "./store"; new Vue({ el: '#app', router, store, render: h => h(App) })
阅读全文
posted @ 2021-10-02 16:18 胸怀丶若谷
阅读(1646)
评论(0)
推荐(0)
编辑
公告