Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] 体验版报错,开发版和真机调整均正常 #5974

Open
Pandaver opened this issue Feb 25, 2025 · 0 comments
Open

[Bug Report] 体验版报错,开发版和真机调整均正常 #5974

Pandaver opened this issue Feb 25, 2025 · 0 comments

Comments

@Pandaver
Copy link

重现链接

(in promise) MiniProgramError
o is not a function
TypeError: o is not a function
at t (appservice.app.js:40:145)
at exports.isObj (appservice.app.js:66:587)
at xi.isDisabled (@vant/weapp/picker-column/index.appservice.js:2:1486)
at xi.adjustIndex (@vant/weapp/picker-column/index.appservice.js:2:1349)
at xi.setIndex (@vant/weapp/picker-column/index.appservice.js:2:1657)
at (@vant/weapp/picker-column/index.appservice.js:2:618)

Vant Weapp 版本

1.11.7

描述一下你遇到的问题。

开发者工具里和真机调试都是正常的,上传到预览版打开就报错,不知道什么原因

(in promise) MiniProgramError
o is not a function
TypeError: o is not a function
at t (appservice.app.js:40:145)
at exports.isObj (appservice.app.js:66:587)
at xi.isDisabled (@vant/weapp/picker-column/index.appservice.js:2:1486)
at xi.adjustIndex (@vant/weapp/picker-column/index.appservice.js:2:1349)
at xi.setIndex (@vant/weapp/picker-column/index.appservice.js:2:1657)
at (@vant/weapp/picker-column/index.appservice.js:2:618)

Image

Image

Image

只搜索到这个情况和我目前比较像,但无人回答https://developers.weixin.qq.com/community/develop/doc/0002c2a81801886228905466e67000

尝试把app.json里的"lazyCodeLoading": "requiredComponents"改为"renderer": "webview",开发者工具里和真机调试依旧正常,体验版报错更多了,报错如下:

Image

Image

Image

重现步骤

  1. 打开预览版
  2. 发现点击事件均失效
  3. 打开控制台发现报错

设备/浏览器

微信8.0.49 / 小米 14 / HyperOS 2.0.101.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant