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

APP端报错,小程序不报错 #147

Open
Coding-Journey-Studio opened this issue Jul 15, 2024 · 8 comments
Open

APP端报错,小程序不报错 #147

Coding-Journey-Studio opened this issue Jul 15, 2024 · 8 comments

Comments

@Coding-Journey-Studio
Copy link

** 请描述您在使用期间遇到的疑问 **
image
image
onLoad里,app端打印ref是null,小程序可以正常打印ref。。
z-paging版本是2.7.11 pnpm安装

@SmileZXLee
Copy link
Owner

打印ref包一层nextTick 确保页面组件渲染完毕再获取

@Coding-Journey-Studio
Copy link
Author

Coding-Journey-Studio commented Jul 15, 2024

试过了。。还是报这个e.undefined
image

@SmileZXLee
Copy link
Owner

uni-preset-vue-vite-3_0715.zip
我创建了一个demo测试了未发现这个问题,你试下

@Coding-Journey-Studio
Copy link
Author

Coding-Journey-Studio commented Jul 15, 2024

给你传一份,麻烦帮我看看哪的问题。你传的是没问题的。
是hbx的模板,直接hbx导入 pnpm下试试,用的是unibest集成的环境
test0715.zip

@SmileZXLee
Copy link
Owner

我有空再看下,最近很忙。你可以试试把uniapp版本升级到最新

@Coding-Journey-Studio
Copy link
Author

直接用的hbx的 4.23。打开app就报错,小程序试了试 是不报错的。

@SmileZXLee
Copy link
Owner

OK

@wanglei1020
Copy link

给你传一份,麻烦帮我看看哪的问题。你传的是没问题的。 是hbx的模板,直接hbx导入 pnpm下试试,用的是unibest集成的环境 test0715.zip

我也是这个问题,请问解决了吗

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

No branches or pull requests

3 participants