1、promise的then回调函数中res是any类型,在使用any类型的属性时报红?
getToken().then(({res}:any) => { console.log(res.token) })