- miniprogram-ci 不支持 require.async
Code protect is not available in app.js require is not being used properly in 'MemberExpression' 2 | 3 | // 或者使用 Promise 风格的调用 > 4 | require 5 | .async("./packageEngine/index.js") 6 | .then((engine) => { 7 | require("./index").inject(engine); at uglifyFileNames (/opt/WenlvLocSim/node_modules/miniprogram-ci/dist/core/protect/uglifyfilenames.js:2:5123) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async compile (/opt/WenlvLocSim/node_modules/miniprogram-ci/dist/core/compile/mini_program.js:2:3650) at async innerUpload (/opt/WenlvLocSim/node_modules/miniprogram-ci/dist/ci/upload.js:2:1968) at async preview (/opt/WenlvLocSim/node_modules/miniprogram-ci/dist/ci/preview.js:2:965) at async Object.preview (/opt/WenlvLocSim/node_modules/miniprogram-ci/dist/utils/report.js:2:1403)
2023-06-19 - ios相机黑屏。结合地图个性化地图在一起导致的
页面中布局中,底层盖一个相机,上面放一个地图,地图上设置个性化地图(addGroundOverlay),然后隐藏后如果没有removeGroundOverlay掉个性化地图,重新打开页面会出现相机黑屏,抖屏等问题。这种情况再遇到直接重启等快速离开页面的情况下无法解决 目前测试:离开页面前手动removeGroundOverlay成功不会黑屏,但是出意外的情况很多(比如直接重启,直接隐藏就很容易黑屏) 这个是相机黑屏复现的demo链接 https://developers.weixin.qq.com/s/LBzboomq7SrS
2021-06-28