已经是2038年了, 这个问题还没有解决?疫情的原因吗?
小程序在ios平台上设置完亮度以后,按下home键亮度设置不会变成原来的亮度在onShow 事件记录当前系统屏幕的亮度并将此时手机的亮度调暗,在onHide 事件调用设置屏幕亮度将亮度调整为一开始在onShow方法中记录到的系统屏幕亮度,在设置屏幕亮度的成功函数里边输出了内容,在安卓返回手机主页可以正常调回系统亮度,但是在ios按下home键以后屏幕亮度还是跟随者小程序被调暗了的亮度,并没有恢复系统亮度。
2021-01-21[图片]
copyFileSync:fail operation not permitted[15:54:41] Error: copyFileSync:fail operation not permitted, copyfile '/storage/emulated/0/tencent/MicroMsg/wxafiles/wxfce6e49034fee8c5/tmp_081278b37fbc02cd38cc591b4ad284e3c476f7e95c2c6ad7' -> '/storage/emulated/0/tencent/MicroMsg/wxanewfiles/6df30df50ed01e4bc0ff0f521056f65e/action/51aafb1ec979733ab0dd1a3dbfeee144/tmp_081278b37fbc02cd38cc591b4ad284e3c476f7e95c2c6ad7.jpg' at copyFileSync (https://lib/WASubContext.js:2:713458) at Object.e.<computed> [as copyFileSync] (https://lib/WASubContext.js:2:715121) at https://usr/app-service.js:13667:2329 at Array.forEach (<anonymous>) at e (https://usr/app-service.js:13667:2183) at e (https://usr/app-service.js:13667:2132) at https://usr/app-service.js:13667:2363 at Array.forEach (<anonymous>) at e (https://usr/app-service.js:13667:2183) at Function.complete (https://usr/app-service.js:13667:2460) 机型信息: {"screenWidth":360,"locationEnabled":true,"statusBarHeight":18,"notificationAuthorized":true,"screenTop":0,"pixelRatio":3,"safeArea":{"height":640,"width":360,"bottom":640,"top":0,"left":0,"right":360},"system":"Android 5.1","benchmarkLevel":8,"cameraAuthorized":true,"bluetoothEnabled":false,"deviceOrientation":"portrait","windowWidth":360,"brand":"OPPO","fontSizeSetting":16,"version":"7.0.10","screenHeight":640,"locationAuthorized":true,"language":"zh_CN","wifiEnabled":false,"microphoneAuthorized":true,"windowHeight":592,"model":"OPPO R9m","platform":"android","SDKVersion":"2.10.0","devicePixelRatio":3} 以前从未出现,查文档也没有对应的异常解释
2020-04-27最好就是一次性获取所有客户列表,不需要userid
企业微信小程序:获取客户总数和获取客户列表的接口有待完善?获取客户客户列表的接口:目前只有根据用户id获取客户id列表,再根据客户id获取客户详情,然后把每次请求到的客户详情放到一起再渲染,这真的挺麻烦的,希望官方能提供一个根据userid的列表来获取客户基本信息的列表(包括头像,name,type,创建时间和创建人员)这样只要请求一次就可以获取一个或者多个员工的客户。 全部客户数的接口:目前只能先获取成员userid列表,然后通过userid获取他的客户列表,然后把所有成员的客户id放在一起,这里又要请求多次了,如果官方可以提供一个可以根据userid列表来获取客户数的接口就好了
2020-03-17已经是2020了,这个问题还是存在。
npm 包引入后导致循环调用小程序里引入 npm 包后,上线后小程序一直报错 Maximum call stack size exceeded 是不是引入的包里面造成的循环? [代码] [代码] [代码]const CryptoJs = require('crypto-js')[代码] [代码] [代码] [代码]const key = CryptoJS.enc.Utf8.parse(xxxx)[代码] [代码] [代码][代码]if[代码] [代码](url && url.indexOf(xxx) >= 0) {[代码][代码] [代码][代码]let decRes = CryptoJS.AES.decrypt(res.data, key, {[代码][代码] [代码][代码]mode: CryptoJS.mode.ECB,[代码][代码] [代码][代码]padding: CryptoJS.pad.Pkcs7[代码][代码] [代码][代码]})[代码][代码] [代码][代码]decRes = decRes.toString(CryptoJS.enc.Utf8)[代码] [代码] [代码][代码]return[代码] [代码]decRes[代码][代码] [代码][代码]}[代码] 经过错误收集,全部是安卓手机的报错。是不是安卓手机不支持引入 npm 包加载呢? [图片] [图片]
2020-01-21