06 2023 档案
报错:[Vue warn]: Error in render: "TypeError: Cannot read properties of undefined (reading 'state')"
摘要:
1.错误详情 2. 错误分析 百度此错误发现,很多人可能忘记在main.js中引入store.js并挂载在vue实例上,或者state单词写错了 import Vue from 'vue' import App from './App' import router from './router' /
![报错:[Vue warn]: Error in render: "TypeError: Cannot read properties of undefined (reading 'state')"](https://img2023.cnblogs.com/blog/1462173/202307/1462173-20230723185032374-1220387145.png)