課程
/前端開發
/小程序
/輕松入門微信小程序與云開發
我想問一下這個問題怎么解決呀?
2020-08-11
源自:輕松入門微信小程序與云開發 4-3
正在回答
movie.js文件第22行,目前是undefined.length,請檢查下這行代碼的undefined是如何產生的。
是在data中先定義一下movielist數組,可能你漏了
data:?{movielist:[]? },
舉報
深入淺出微信小程序核心基礎與云開發,使你掌握小程序開發必備技能。
1 回答Cannot read property 'length' of undefined;
1 回答Cannot read property 'length' of undefined
3 回答為什么會顯示這個length屬性不存在呢 TypeError: Cannot read property 'length' of undefined
2 回答報錯:database of undefined
2 回答批量刪除返回為null,日志提示:TypeError: Cannot read property 'length' of undefined
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2020-08-11
movie.js文件第22行,目前是undefined.length,請檢查下這行代碼的undefined是如何產生的。
2020-08-12
是在data中先定義一下movielist數組,可能你漏了
data:?{movielist:[]? },