- wxml-to-canvas ios iphoneX调用canvasToTempFile报错?
报错信息 如下 toTempFilePath:fail invalid viewid这是分享的代码片段 :https://developers.weixin.qq.com/s/q9bCB0mJ7jjh [图片]
2020-07-22 - wxml-to-canvas ios iphoneX调用canvasToTempFile报错
wxml-to-canvas ios iphoneX调用canvasToTempFile报错 IOS 下报错 其他运行正常 报错信息 如下 toTempFilePath:fail invalid viewid 这是分享的代码片段 :https://developers.weixin.qq.com/s/q9bCB0mJ7jjh [图片]
2020-07-21 - 小程序代码转成HTML5代码
小程序代码转成HTML5代码 怎么转
2019-06-03 - input
多个input 框来回切换 键盘事件谈不起来问题
2019-05-29 - wx.chooseMessageFile
wx.chooseMessageFile({ count: 1, type: 'file', [代码] success(res) { const tempFilePaths = res.tempFiles; console.log(res, 'res', tempFilePaths, 'template'); wx.uploadFile({ url: UPDATEFILEURL, // 仅为示例,非真实的接口地址 filePath: tempFilePaths[0].path, name: 'resume', formData: { resumeId: that.data.resume_id, file_name: tempFilePaths[0].name }, header: { cookie: wx.getStorageSync("cookie"), }, success(res) { const data = res.data; console.log(res, '成功'); res = JSON.parse(res.data) if (res.result == 'success') { that.getAjax(true); $Toast({ content: '上传成功', type: 'success' }); } else { $Toast({ content: res.message, type: 'error' }) } // do something }, fail(res) { console.log(res, '失败'); } }) }, fail(res) { console.log(res, '选择文件失败'); } })[代码] [图片]
2019-05-28 - wx.chooseMessageFile
vconsole 控制台 报错 wx.chooseMessageFile is not Function
2019-05-28