使用uniapp 打包编译到微信小程序后运行出现报错:app.js错误:
TypeError: Cannot read property 'replace' of undefined
at K.getOS (vendor.js:13)
at K.getResult (vendor.js:13)
at vendor.js:13
at vendor.js:13
at WASubContext.js?t=wechat&s=1744688860950&v=3.8.1:1
at _.runWith (WASubContext.js?t=wechat&s=1744688860950&v=3.8.1:1)
at q (WASubContext.js?t=wechat&s=1744688860950&v=3.8.1:1)
at n (WASubContext.js?t=wechat&s=1744688860950&v=3.8.1:1)
at app.js:1
at WASubContext.js?t=wechat&s=1744688860950&v=3.8.1:1(env: Windows,mp,1.06.2412050; lib: 3.8.1)
请问各位大佬有知道这是什么原因导致的吗?