当前位置:网站首页>Error: cannot read properties of undefined (reading 'then')

Error: cannot read properties of undefined (reading 'then')

2022-07-27 04:58:00 Blog Zhu hukang

Report errors

stay vue When doing project , The following error occurred

cannot read poperties of undefined(reading 'then')

 Insert picture description here

Error reporting analysis

This error is reported because axios I didn't add it return Go back , So when loading page calls , There is an error reported here ,

Solution

 Insert picture description here

原网站

版权声明
本文为[Blog Zhu hukang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/208/202207270436392709.html