摘要:
微信小程序 取列表的for循环的第一个值 infolist=[{name:'11'},{name:'22'}] <text wx:for="{{infolist}}" wx:key="index" wx:if="{{index == 0}}">{{item.name}}</text> 结果: 11 阅读全文
摘要:
一、应用1发送post请求 def login(url, data): response = requests.post(url, json=data) if response.status_code == 200: result = response.json() print(result) re 阅读全文