- 红米note 12 使用camera组件拍照,获取图片路径为null?
device: 'back', <camera device-position="{{device}}" resolution="high" flash="off" binderror="error" style="width: 100%; height:80vh;"> </camera> const ctx = wx.createCameraContext() ctx.takePhoto({ quality: 'high', success: (res) => { }, fail: (err) => { console.log(err) } }) 设备型号:android 设备版本系统:Android 13 微信版本:8.0.60
07-14 - 国内外都需要使用的小程序,getLocation接口是否能正常返回海外经纬度,需要特殊处理嘛?
wx.getLocation({ type: 'wgs84', success (res) { const latitude = res.latitude const longitude = res.longitude const speed = res.speed const accuracy = res.accuracy } })
06-16 - iPhone使用camera组件拍照,拍摄的图片错位?
device: 'back', <camera device-position="{{device}}" resolution="high" flash="off" binderror="error" style="width: 100%; height:80vh;"> </camera> const ctx = wx.createCameraContext() ctx.takePhoto({ quality: 'high', success: (res) => { }, fail: (err) => { console.log(err) } }) 设备型号:iPhone 14 Plus<iPhone14,8> 设备版本系统:iOS 18.1.1
05-22 - 微信小程序 用户有没有方法间接获取微信小程序本地存储的信息?
微信小程序 用户有没有方法间接获取微信小程序本地存储的信息?
04-10 - 苹果14.苹果15,打开小程序组件camera打开时默认成为超广角
苹果14.苹果15,打开小程序组件camera打开时默认成为超广角,苹果13则版本高者出现该问题,版本低不会出现该问题
2024-10-29 - wx.createInferenceSession 错误码2004000?
_loadModel(modelPath) { var _this = this; if (!modelPath) { console.error('model path is null!'); return Promise.reject(new Error('model path is null!')); } let modelFile = modelPath; console.log('...wxwxwx...modelFile', modelFile); return new Promise((resolve, reject) => { this.wxInferenceSession = wx.createInferenceSession({ model: modelFile, precisionLevel: 4, allowNPU: false, allowQuantize: false }); // 监听 error 事件 this.wxInferenceSession.onError((error) => { console.error('Model loading error:', error); }); this.wxInferenceSession.onLoad(() => { this.ready = true; resolve(); }); }); },
2024-09-02 - 微信小程序 ios 正式 requestPayment调不起支付 安卓可以?
requestPayment
2024-04-17 - chooseImage 拍照拿不到临时路径?
chooseImage 拍照拿不到临时路径 机型:DVC-AN20 微信版本:8.0.47
2024-04-08 - 部分安卓 camera 拍照变形?
<camera device-position="{{device}}" resolution="low" flash="off" binderror="error" style="width: 100%; height:80vh;"></camera> device :back const ctx = wx.createCameraContext() ctx.takePhoto({ quality: 'high', success: (res) => { } })
2024-03-26 - 订阅一次性订阅两个模板 ,弹框时也点了两个保持以上选择,为什么只能收到第一个模板的消息?
订阅一次性订阅两个模板 ,弹框时也点了两个保持以上选择,为什么只能收到第一个模板的消息?
2023-10-13