我也遇到这个问题了,用安卓的调试模式推到iOS上就能正常显示,很奇怪。
微信开发者工具出现真机调试在ios和mac端打开小程序页面空白?操作系统信息:开发者工具版本:RC 1.06.240301 操作系统:M1 14.5 系统版本 求助问题:微信开发者工具在本地运行小程序没有问题 预览下的二维码预览和自动预览也没有问题 在真机调试(2.0)的二维码预览和真机预览在 mac端和ios端真机上进行预览都出现页面空白问题 在安卓手机上真机预览可以正常显示 下方为真机预览相关信息 mac真机预览报错信息: lib/WASubContext.js:1 Error during evaluating file "app.js": (anonymous) @ lib/WASubContext.js:1 lib/WASubContext.js:1 Maximum call stack size exceeded (anonymous) @ lib/WASubContext.js:1 lib/WASubContext.js:1 RangeError: Maximum call stack size exceeded at $ (vendor.js:3686) at $ (vendor.js:3686) at $ (vendor.js:3686) at $ (vendor.js:3686) at $ (vendor.js:3686) at $ (vendor.js:3686) at $ (vendor.js:3686) at $ (vendor.js:3686) at $ (vendor.js:3686) at $ (vendor.js:3686) (anonymous) @ lib/WASubContext.js:1 lib/WAServiceMainContext.js:1 MiniProgramError Cannot read properties of undefined (reading '$vm') TypeError: Cannot read properties of undefined (reading '$vm') at https://usr/app-service.js:8117:13 at https://usr/app-service.js:8569:94 at getAppVm (https://usr/app-service.js:8118:24) at https://usr/app-service.js:8121:28 at https://usr/app-service.js:8569:94 at $createComponent (https://usr/app-service.js:8125:24) at yi.<anonymous> (https://usr/app-service.js:8240:22) at https://usr/app-service.js:8569:94 at yi.attached (https://usr/app-service.js:8257:30) at o.safeCallback (https://lib/WASubContext.js:1:207835) errorReport @ lib/WAServiceMainContext.js:1 /__dev__/WAPCAdapterAppIndex.js:2 Uncaught (in promise) TypeError: l(...) is not a function ios 端没有出现报错信息: [图片]
07-15