https://developers.weixin.qq.com/s/ZrdQrJml79BM
模拟器,真机调试安卓苹果都没问题,上了体验版苹果有一个页面不显示,求问?报错信息 "MiniProgramError\nundefined is not an object (evaluating 'e.substr')\nTypeError: undefined is not an object (evaluating 'e.substr')\nat getTerm (app-service.js:6296:10510)\nat solar2lunar (app-service.js:6296:12267)\nat getDayInfo (app-service.js:6308:1612)\nat getMonthData (app-service.js:6308:1392)\nat initDateTime (app-service.js:6308:686)\nat attached (app-service.js:6308:5893)\nat (WASubContext.js:1:474892)\nat (WASubContext.js:1:474673)\nat t (WASubContext.js:1:492309)\nat t (WASubContext.js:1:492621)\nat t (WASubContext.js:1:492563)\nat f (WASubContext.js:1:492631)\nat (WASubContext.js:1:504658)\nat Pa (WASubContext.js:1:674985)\nat (WASubContext.js:1:721870)\nat (WASubContext.js:1:690345)\nat (WASubContext.js:1:724155)\nat (WASubContext.js:1:690345)\nat (WASubContext.js:1:728126)\nat (WASubContext.js:1:690345)\nat vr (WASubContext.js:1:734559)\nat (WASubContext.js:1:689483)\nat (WAServiceMainContext.js:1:751648)\nat emit (WAServiceMainContext.js:1:748399)\nat emit (native code)\nat (WAServiceMainContext.js:1:2319816)\nat (WAServiceMainContext.js:1:758478)\nat (WAServiceMainContext.js:1:751747)\nat emit (WAServiceMainContext.js:1:748399)\nat (WAServiceMainContext.js:1:803801)\nat (WAServiceMainContext.js:1:781469)\nat (WAServiceMainContext.js:1:144911)\nat emit (WAServiceMainContext.js:1:81766)\nat (WAServiceMainContext.js:1:84248)\nat emit (WAServiceMainContext.js:1:81389)\nat subscribeHandler (WAServiceMainContext.js:1:83949)\nglobal code@" 实在排查不出来了,各位大佬帮忙看看! 基础库:2.25.2 苹果机版本:15 &定位到时substr的问题 难道苹果手机.substr 这个方法不管用么?
2022-08-23