最近调用腾讯地图的接口,返回值是一个promise类型,咋取值也不对,后来才知道promise类型需要then()来异步执行一下
.tnen(res=>{如果res返回的还是一个promise类型,再次使用.then()执行一下即可})