今天在调接口时报这样的错: TypeError: Cannot read properties of undefined (reading ‘then’) 代码为: created() { // 病毒请求接口 api.getVirusInfo().then(res => { console.log(res.d