请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
Wxml2Canvas有的手机把图片下载到手机后发现背景色全是黑色,但是文字都能显示,咋回事?有点急import Wxml2Canvas from 'wxml2canvas'; export default { methods: { drawMyCanvas() { uni.showLoading({ title: '下载中...' }); const that = this; const query = uni.createSelectorQuery().in(this); query .select('#my-canvas') .fields( { // 选择需要生成canvas的范围 size: true, scrollOffset: true }, (data) => { let width = data.width; let height = data.height; that.width = width; that.height = height; setTimeout(() => { that.startDraw(); }, 1500); } ) .exec(); }, startDraw() { console.log(2); let that = this; // 创建wxml2canvas对象 let drawMyImage = new Wxml2Canvas( { element: 'myCanvas', // canvas的id, obj: that, // 传入当前组件的this width: that.width * 2, height: that.height * 2, progress(percent) { // 进度 // console.log(percent); }, finish(url) { console.log(url); // 生成的图片 uni.hideLoading(); setTimeout(() => { that.savePoster(url); }, 500); }, error(res) { // 失败原因 console.log(res); uni.hideLoading(); } }, this ); let data = { // 获取wxml数据 list: [ { type: 'wxml', class: '.my_canvas .my_draw_canvas', // my_canvas要绘制的wxml元素根类名, my_draw_canvas单个元素的类名(所有要绘制的单个元素都要添加该类名) limit: '.my_canvas', // 要绘制的wxml元素根类名 x: 0, y: 0 } ] }; // 绘制canvas drawMyImage.draw(data, this); }, savePoster(imgUrl) { console.log(3, imgUrl); const that = this; uni.saveImageToPhotosAlbum({ filePath: imgUrl, success: function () { uni.showToast({ title: '保存成功', icon: 'none', duration: 1500 }); }, fail(err) { if ( err.errMsg === 'saveImageToPhotosAlbum:fail:auth denied' || err.errMsg === 'saveImageToPhotosAlbum:fail auth deny' || err.errMsg === 'saveImageToPhotosAlbum:fail authorize no response' ) { uni.showModal({ title: '提示', content: '需要您授权保存相册', showCancel: false, success: (modalSuccess) => { uni.openSetting({ success(settingdata) { if (settingdata.authSetting['scope.writePhotosAlbum']) { uni.saveImageToPhotosAlbum({ filePath: imgUrl, success: function () { uni.showToast({ title: '保存成功', icon: 'success', duration: 2000 }); } }); } else { uni.showToast({ title: '授权失败,请稍后重新获取', icon: 'none', duration: 1500 }); } } }); } }); } } }); } } };
11-12请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
为什么我在components里面写的自定义组件经过编译之后在微信开发平台里面显示的时候会出现乱码?[图片][图片]
11-12你可以注销小程序https://developers.weixin.qq.com/community/develop/doc/000ccc30464020501a890a8aa5b809?highLine=%25E6%25B3%25A8%25E9%2594%2580%25E5%25B0%258F%25E7%25A8%258B%25E5%25BA%258F
怎么删除小程序?不会删
11-09请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
微信小程序真机调试 接口获取数据为什么不显示?微信小程序真机调试时 接口获取的数据为什么不显示 但是在微信开发者工具上可以显示 域名信息已经配置过
11-08请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
最新版本微信开发者工具打开page-container然后底部的输入框上面的内容显示出来了,,,?[图片]
11-08分包使用一下
更新了微信开发者工具1.06.2409140后代码包多了1M多?(没改代码)message:预览 Error: 系统错误,错误码:80051,source size 2885KB exceed max limit 2MB [20241107 15:02:50][wx96bc909ee1956ec0] appid: wx96bc909ee1956ec0 openid: o6zAJs0rnbj8SbZOINTzFnPflj_0 ideVersion: 1.06.2409140 osType: win32-x64 time: 2024-11-07 15:02:53
11-08你好,麻烦在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,麻烦提供一下微信号,时间点
Framework inner error (expect FLOW_ALLOC_NODE_ID ?有用户反馈进入购物车TAB页面空白,但是我们自己却无法复现,在wedata js分析里面看到有报这个错,这是什么错误? Framework inner error (expect FLOW_ALLOC_NODE_ID but get another) @https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2314037 @https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:463559 @https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:517974 @https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:538055 ln@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2260339 dn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2261155 dn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2261332 gn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2264089 fn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2264965 gn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2264509 fn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2264965 gn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2264509 fn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2264965 gn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2264509 fn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2264965 gn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2264509 fn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2264965 gn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2264509 fn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2264965 gn@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2264509 _updateValues@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2268841 updateValues@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2268440 @https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:516490 @https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:526315 _r@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2305031 @https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2304264 @https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2304215 wr@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2304255 consumeFlow@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2350162 n@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2347458 K@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2217611 @https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2217525 @https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:2218293 @https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:430069 @https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:325095 emit@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:104239 dispatch@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:116833 cb@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:117185 emit@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:103571 subscribeHandler@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:2:112563 global code@https://servicewechat.com/wxa2a01f8b03b59cc3/222/page-frame.html:1:72
11-08你好提供一下手机系统截图
getBluetoothDevices在鸿蒙5.0next版本中advertisData长度不对?wx.getBluetoothDevices({ success: function (res) { for (let i = 0; i < res.devices.length; i++) { // 遍历设备信息 let tempDevice = res.devices[i]; tempDevice.advUint8Array = new Uint8Array(tempDevice.advertisData); // advertisData少了一个字节 } }, fail: function (res) { console.error }, complete: function (res) {} }); 当前蓝牙设备的广播数据段中的 ManufacturerData 数据段,少了一个字节。
11-08目前带货功能已经下线了 如您需要带货的话 :微信-发现-视频号-右上角人头像进去-创作者中心-创作者服务—带货中心-选品 按这个路径先去带货哈
为什么我没有带货显示?收入变现下面的带货功能,我的没有这个选项
11-07企业微信吗?
ios getVideoInfo 报错 fail function not exist ?安卓正常 版本信息: {hostVersion: "8.0.29", hostLanguage: "zh-CN", hostName: "SDK", hostSDKVersion: "2.27.3", hostTheme: "", appId: "__UNI__8A8CD47", appName: "operations-main-wxapp", appVersion: "1.0.0", appVersionCode: "100", appLanguage: "zh-Hans", fontSizeSetting: 17, language: "zh_CN", fontSizeScaleFactor: 1, version: "8.0.29", SDKVersion: "2.27.3", enableDebug: true, host: {env: "SDK", appId: "wx4706a9fcbbca10f2", version: 318832640}, mode: "default"} 设备信息: "System:" "iPhone, iOS 15.4.1, WeChat 8.0.29" [图片]
11-07