課程
/前端開發
/小程序
/輕松入門微信小程序與云開發
Cannot read property 'length' of undefined;無法獲取電影列表 一直在加載
2019-05-14
源自:輕松入門微信小程序與云開發 4-3
正在回答
先看下network里請求的響應結果是什么,在請求API的url后面跟一個apikey參數:
http://api.douban.com/v2/movie/in_theaters?apikey=0df993c66c0c636e29ecbb5344252a4a&start=0&count=10
舉報
深入淺出微信小程序核心基礎與云開發,使你掌握小程序開發必備技能。
1 回答Cannot read property 'length' of undefined
1 回答Cannot read property 'concat' of undefined
3 回答Cannot read property 'concat' of undefined
3 回答為什么會顯示這個length屬性不存在呢 TypeError: Cannot read property 'length' of undefined
2 回答批量刪除返回為null,日志提示:TypeError: Cannot read property 'length' of undefined
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2019-05-14
先看下network里請求的響應結果是什么,在請求API的url后面跟一個apikey參數:
http://api.douban.com/v2/movie/in_theaters?apikey=0df993c66c0c636e29ecbb5344252a4a&start=0&count=10