- 小程序的input输入几个字符的英文绑定了bindblur和bindinput依然不触发
[图片] //填写的数据 inputs: function (e) { let that = this let item = e.currentTarget.dataset.model; let detail = e.detail.value // console.log(detail) that.setData({ [item]: detail.trim() }, function () { }) },
2019-12-19 - navigateTo:fail rejected due to no permission?
插件分享出来的卡片,点开之后直接加载的是插件的页面,我们想在app.js的onShow里判断没有登陆先跳到我们的登陆页做登陆,用wx.navigateTo跳转报了navigateTo:fail rejected due to no permission currently,这个是什么原因导致的,有什么方案解决吗?
2020-03-27 - picker组件设置默认值为空时
- 当前 Bug 的表现(可附上截图) [图片] - 预期表现 默认第1个选项为空,而不是0 - 复现路径 - 提供一个最简复现 Demo wxml: [代码]<[代码][代码]picker[代码] [代码]bindchange[代码][代码]=[代码][代码]"bindPickerChange"[代码] [代码]range[代码][代码]=[代码][代码]"{{mode}}"[代码] [代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'item'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'title'[代码][代码]>跟进方式</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'content'[代码][代码]>{{mode[modeIndex]}}</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]picker[代码][代码]>[代码]JS中的data: [代码]data: {[代码] [代码] [代码][代码]mode: [[代码][代码]''[代码][代码], [代码][代码]'微信'[代码][代码], [代码][代码]'电话'[代码][代码], [代码][代码]'短信'[代码][代码], [代码][代码]'来店'[代码][代码], [代码][代码]'上门'[代码][代码]],[代码][代码] [代码][代码]modeIndex: 0,[代码][代码] [代码][代码]},[代码]
2019-06-26