已采納回答 / 謝成
這個確實和你網速有關系。也可以試試代理,比如:??
npm?install?request?--registry=https://registry.npm.taobao.org
2019-11-03
已采納回答 / 慕婉清1024
event:是參數,表示點擊的那個表簽對象.target.dataset:是固定寫法,表示獲取對象的屬性fileid:表示屬性,標簽的自定義屬性是“data-xxx”合起來就是獲取當前對象中fileid屬性的值
2019-11-01
已采納回答 / 謝成
先把console.err()改成console.error()豆瓣API有變化,需要在請求API的url后面跟一個apikey參數:電影列表API:http://api.douban.com/v2/movie/in_theaters?apikey=0df993c66c0c636e29ecbb5344252a4a&start=0&count=10電影詳情API:`http://api.douban.com/v2/movie/subject/${event.movieid}?apikey=0...
2019-10-31
已采納回答 / 謝成
先把console.err()改成console.error()豆瓣API有變化,需要在請求API的url后面跟一個apikey參數:電影列表API:http://api.douban.com/v2/movie/in_theaters?apikey=0df993c66c0c636e29ecbb5344252a4a&start=0&count=10電影詳情API:`http://api.douban.com/v2/movie/subject/${event.movieid}?apikey=0...
2019-10-27
已采納回答 / 謝成
循環遍歷時,數組當前項的變量名默認為?itemhttps://developers.weixin.qq.com/miniprogram/dev/reference/wxml/list.html<...圖片...>
2019-10-26