同样有问题,切换基础库版本也没用,整个晋西北乱成一锅粥了
基础版本库调整后,导致线上小程序功能出现问题https://developers.weixin.qq.com/miniprogram/dev/framework/client-lib/version.html 基础版本库调整后,导致线上小程序功能出现问题,在开发工具中提示的错误信息如下: MiniProgramError Cannot read properties of undefined (reading '__wxWebviewId__') TypeError: Cannot read properties of undefined (reading '__wxWebviewId__') at __wxWebviewId__ (common.js:6697:48) at draw (visitorPages/visitorPages/actions/actions.js:301:26) at createQrCode (visitorPages/visitorPages/actions/actions.js:293:10) at createQr (visitorPages/visitorPages/actions/actions.js:491:12) at call (common.js:4428:20) at pi. (WASubContext.js:1:463549) at s.__callPageLifeTime__ (WASubContext.js:1:463342) at $t.dt (WASubContext.js:1:457832)
2023-07-14找到了,用的这个 https://www.npmjs.com/package/jswx npm i jswx
typescript JS-SDK报错?https://res.wx.qq.com/open/js/jweixin-1.6.0.js Could not find a declaration file for module ''. '' implicitly has an 'any' type. Try `` if it exists or add a new declaration (.d.ts) file containing
2023-04-13