Cannot read property 'tmp' of undefined,原因?
发布于 4 年前 作者 pingyi 15147 次浏览 来自 问答

能返回正确数值,但报错Cannot read property ‘tmp’ of undefined,是什么原因呢?

2 回复

授点渔给你:

这种情况,先console.log(res),看看里面的tmp是什么。

你真的确定吗?接口100%能获取到值?

回到顶部