Vue3报错js;

 

Uncaught (in promise) TypeError : Cannot read properties of undefined (reading 'getAll')  

 

js中源码:右侧区域代码中,去掉 Api 后,就不报错了;   左侧不用去掉;

 

js源码中,引用的都一样,如下展示:

 

 

 

 

 

 

 

-----------------------------

posted on 2024-10-01 21:47  风潇潇兮-Missmen-zy  阅读(50)  评论(0)    收藏  举报