上海做网站天锐,电子商务网站建设与管理课后题,怎样做读书会网站,网站开发有哪些软件项目跟练的时候 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘code’) at Proxy.userInfo (user.ts:57:17) 因此我想要用result接受信息的时候会出错#xff0c;报错显示为result.code没有该值 导致我无法获取到相应的数据 解决如下 给…项目跟练的时候 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘code’) at Proxy.userInfo (user.ts:57:17) 因此我想要用result接受信息的时候会出错报错显示为result.code没有该值 导致我无法获取到相应的数据 解决如下 给get方法添加return 成功获取到值 vue上也有了相应的展示