- picker组件的range-key如何显示多个字段?
<picker bindchange="bindPickerChange" value="{{index}}" range="{{location}}" range-key="{{'name'}}"> <view class="picker"> 地州{{location[index]}} </view> </picker> location: [ {"id": "XM4xZnN088X5",num:3,"name": "西双版纳州"}, {"id": "yrw6F6n30igs",num:4,"name": "昆明市"} ] 如何写range-key让picker弹窗里显示name+num组合形式?
2017-07-01 - wx.request接口报错“协议错误 with seq 0”
很少一部分iOS手机出现wx.request接口调用失败。从iphone6~iphoneX都有部分手机出现该问题。 绝大部分手机是没有问题的,说明https以及域名配置是没有问题的。 以下是其中一个出现问题的手机: 设备品牌iPhone 设备型号iPhone 6<iPhone7,2> 客户端版本7.0.3 基础库版本2.6.6 系统类型iOS 11.0.3 用户反馈日志 2019-5-5 14:10:34 [log] wx.getStorageSync api invoke 2019-5-5 14:10:34 [log] wx.getStorageSync return 2019-5-5 14:10:34 [log] wx.getSystemInfo api invoke 2019-5-5 14:10:34 [log] wx.getSystemInfo success callback with msg getSystemInfo:ok 2019-5-5 14:10:34 [log] App onLaunch have been invoked 2019-5-5 14:10:34 [log] App onShow have been invoked 2019-5-5 14:10:34 [log] wx.canIUse api invoke 2019-5-5 14:10:34 [log] wx.getStorageSync api invoke 2019-5-5 14:10:34 [log] wx.getStorageSync return 2019-5-5 14:10:34 [log] page pages/index/index onLoad have been invoked 2019-5-5 14:10:34 [log] page pages/index/index onShow have been invoked 2019-5-5 14:10:34 [log] page pages/index/index onReady have been invoked 2019-5-5 14:10:53 [log] wx.login api invoke 2019-5-5 14:10:53 [log] wx.showLoading api invoke 2019-5-5 14:10:53 [log] wx.getStorageSync api invoke 2019-5-5 14:10:53 [log] wx.getStorageSync return 2019-5-5 14:10:53 [log] wx.getStorageSync api invoke 2019-5-5 14:10:53 [log] wx.getStorageSync return 2019-5-5 14:10:53 [log] wx.request api invoke with seq 0 2019-5-5 14:10:53 [log] wx.login success callback with msg login:ok 2019-5-5 14:10:54 [log] wx.request fail callback with msg request:fail 未能完成该操作。协议错误 with seq 0
2019-05-05