你好 问题已复现 我们正在处理
input type="file" multiple 安卓相册选择图片不触发change事件?症状触发条件: 安卓手机(必须要真机,在模拟器上无法复现),任意基础库版本,目前在 小米 17,vivo x200 pro 这两个主流机型上稳定复现。 input 设置了 multiple(用于多选),如果不设置 multiple 则可以正常触发 change 事件。 示例:<input type="file" accept="*" multiple id="input2"> 重要:必须先点击相册,再选择文件,才会出现不能触发 change 事件。如果直接选择最近的文件,则能正常触发 change 事件。录屏:https://chat.nature-notes.com/6a27ce48d120f2b9dbc9cfecf4da2a36_raw.mp4 之前的同类问题: https://developers.weixin.qq.com/community/develop/doc/00060eec31816864787f36dc351c00https://developers.weixin.qq.com/community/develop/doc/00040e6e75821877f254edc0561400可复现的链接(直接发送到聊天打开链接即可复现):https://chat.nature-notes.com/test-input-multiple.html 为了方便你们测试,我把可复现的极简 js 写到了 HTML 里,并上传到 CDN 生成了上述链接。代码如下: <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Android Input Multiple Test</title> <style> body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; padding: 20px; max-width: 600px; margin: 0 auto; } .test-item { margin-bottom: 30px; padding: 15px; border: 1px solid #eee; border-radius: 8px; } .log { margin-top: 10px; padding: 10px; background: #f5f5f5; border-radius: 4px; font-size: 12px; max-height: 200px; overflow-y: auto; } .log-item { border-bottom: 1px solid #eee; padding: 4px 0; } .log-item:last-child { border-bottom: none; } </style> </head> <body> <h2>Android Input Multiple 测试</h2> <p>在安卓设备上测试多文件选择是否会触发 change 事件</p> <div class="test-item"> <h3>测试 1: multiple</h3> <input type="file" accept="*" multiple id="input2"> <div class="log" id="log2">等待选择文件...</div> </div> <div class="test-item"> <h3>测试 2: 无 multiple</h3> <input type="file" accept="*" id="input3"> <div class="log" id="log3">等待选择文件...</div> </div> <script> function addLog(logId, message) { const log = document.getElementById(logId) const time = new Date().toLocaleTimeString() log.innerHTML = `<div class="log-item">[${time}] ${message}</div>` + log.innerHTML } document.getElementById('input1').addEventListener('change', function(e) { const files = e.target.files addLog('log1', `change 触发! 文件数: ${files.length}`) addLog('log1', `文件名: ${Array.from(files).map(f => f.name).join(', ')}`) }) document.getElementById('input2').addEventListener('change', function(e) { const files = e.target.files addLog('log2', `change 触发! 文件数: ${files.length}`) addLog('log2', `文件名: ${Array.from(files).map(f => f.name).join(', ')}`) }) document.getElementById('input3').addEventListener('change', function(e) { const files = e.target.files addLog('log3', `change 触发! 文件数: ${files.length}`) addLog('log3', `文件名: ${Array.from(files).map(f => f.name).join(', ')}`) }) // 监听全局错误 window.addEventListener('error', function(e) { addLog('log1', `ERROR: ${e.message}`) }) </script> </body> </html>
星期五 15:51最新客户端复现的吗 给个代码片段看看吧 其它用户反馈的8.0.64就已经修复了
input组件在iPhone17的兼容问题iphone17手机上出现input里的value无法显示数值,当input框获取到焦点的时候可以显示value,失去焦点的时候又会空值。 场景:我有一个输入框用于用户自定义输入商品总价进行计算购买优惠方案。当用户切换商品时,改变Input的Value。此时Input的Value无法显示数值,当聚焦时,数值正常显示,失焦后又消失 其实已经有人提出过这个问题了,官方在下面说已经修复了,可现在依然存在 https://developers.weixin.qq.com/community/develop/doc/0008429a59c038675824ad9806a400?highLine=Input
星期五 15:26录屏看看呢
我的标题被篡改!我的 微信小程序 在 企业公众号里面 分享的标题成了 其他的 名字
星期五 15:18提供下ppt地址
微信小程序打开PPT颜色变了[图片] 小程序打开后颜色异常如下 [图片] 如下是源文件颜色 [图片]
星期五 15:17你好 可以私信提供下异常用户的openid和时间点
最近ios基础库3.13.1好多出现白屏?最近一些用户反馈白屏, 看了一下好像跟广告卡死有关, 从小程序右上方点出菜单 -> 重新进入小程序, 看过开屏广告, 就又可以打开不会白屏了 Expect FLOW_MINIPULATE_CHILD but get another on@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3193737 cn@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3195442 An@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3196177 cn@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3195721 An@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3196177 cn@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3195721 _updateValues@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3200052 updateValues@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3199651 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:729491 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:739489 Gi@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3189923 an@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3193507 rn@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3192432 rn@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3192545 rn@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3192545 rn@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3192545 rn@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3192545 rn@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3192545 rn@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3192545 rn@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3192545 createInstance@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3198358 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:729142 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:731376 ga@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3239297 pa@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3235019 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3234874 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3234825 ha@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3234865 consumeFlow@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3273735 flushBlocked@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3273990 unblock@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3274237 Ho@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3279308 doInitRender@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3928009 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3925269 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3282996 initRender@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3925274 renderPage@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3924820 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3924485 setGenFuncReady@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3924464 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3929937 qr@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3224087 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3247529 Nr@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3222208 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3247512 on@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3200792 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3247494 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3211225 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3209964 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:611809 a@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:371847 s@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:149013 callAndRemove@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:138475 invokeCallbackHandler@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:147479 I is not a function. (In \'I()\', \'I\' is undefined) pa@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3236266 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3234874 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3234825 ha@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3234865 consumeFlow@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3273735 n@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3271123 $@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3149134 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3149048 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:3149812 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:643018 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:371399 @https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:139465 _emit@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:139381 emit@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:139411 dispatch@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:152163 cb@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:152496 emit@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:138617 subscribeHandler@https://servicewechat.com/wx349100408516a755/789/page-frame.html:2:147653 global code@https://servicewechat.com/wx349100408516a755/789/page-frame.html:1:72
星期五 15:10浏览器能正常打开吗
使用web-view,域名都已配置,安卓手机一直加载无法打开链接,IOS系统能正常打开这是为什么?[图片]
星期五 15:05[图片]
在小程序后台已经配置服务器域名,但是还是无法连接服务器?[图片][图片] 在小程序后台已经配置服务器域名,但是还是无法连接服务器,并且显示还是index下显示的还是旧的8443端口
星期五 15:04没复现 可正常跳转
微信小程序跳转医保小程序 提示 暂不支持当前功能?[图片] [图片]我这边用的是 uniapp的方法来跳转的,用户反馈提示当前暂不支持当前功能。 目前还不知道用户使用的是什么手机和微信版本号
星期五 15:02提供下流地址看看呢
video在iOS设备中播放m3u8直播流,暂停后再恢复,一直显示loading圈?video 组件 在iOS设备中播放m3u8直播流,暂停后再恢复,一直显示loading圈在视频画面上,android设备正常
星期五 14:59必现的吗,我这里验证正常
微信小程序头像上传文件过大 会提示无法使用该头像开放能力 /用户信息 /获取头像昵称 鸿蒙系统微信小程序用户选择大于2M的头像会提示无法使用该头像 [图片] 根据描述猜测由于接入的内容安全服务端接口 此接口文件有大小限制 导致用户选择大文件会提示失败 但是又只会在鸿蒙系统下复现 就很奇怪
星期五 10:19