Ruoyi reports TypeError: Cannot read properties of undefined (reading '***')

Let me take (reading 'avatar') as an example.
insert image description here
Here it doesn’t report an error in the console and can’t debug. You say it’s uncomfortable or not. I haven’t done anything yet and stopped.

1. Check the dependency installation npm install If not, then npm install --registry=https://registry.npmmirror.com
2. Check the configuration file and look at the address
insert image description here

3. Development environment configuration Clear
insert image description here

Guess you like

Origin blog.csdn.net/Start_Simple/article/details/130266855