小程序报错TypeError: Cannot read property 'then' of undefined

小程序报了这个错误

检查了一下发现是接口文件api.js函数中 request前面忘记加 return,加上就可以了

posted @ 2022-11-08 11:38  Rins  阅读(431)  评论(0编辑  收藏  举报