使用若依框架前端登录时出现
TypeError: Cannot read properties of undefined (reading ‘avatar’)
1.打开.env.development 文件
2.清空开发环境配置 VUE_APP_BASE_API = ‘’
3.重装依赖
npm install --registry=https://registry.npmmirror.com
4.重启
npm run dev
使用若依框架前端登录时出现
TypeError: Cannot read properties of undefined (reading ‘avatar’)
1.打开.env.development 文件
2.清空开发环境配置 VUE_APP_BASE_API = ‘’
3.重装依赖
npm install --registry=https://registry.npmmirror.com
4.重启
npm run dev