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

divide组件与自定义组件使用时报错 #727

Closed
aShu-guo opened this issue May 17, 2023 · 4 comments
Closed

divide组件与自定义组件使用时报错 #727

aShu-guo opened this issue May 17, 2023 · 4 comments

Comments

@aShu-guo
Copy link
Contributor

aShu-guo commented May 17, 2023

组件

divide组件

基础库版本

  • [1.25.7] 1.x

设备机型

mac os

APP

钉钉小程序(在小程序开发工具中预览即可)

组件库版本

1.6.3

预期行为

编译之后,页面可以正常展示

复现步骤

  1. 小程序开发工具编译即可
    出现报错:
image

阅读了https://opendocs.alipay.com/mini/framework/auge4r ,其中有提到上述问题,但是排查了之后发现开启了component2编译。而且如果不引用divide组件便可以编译成功。

复现 demo

https://github.com/aShu-guo/ant-mini-divide

@jc9702507
Copy link
Collaborator

使用你发的测试,没有报错呢

@aShu-guo
Copy link
Contributor Author

我这边打开小程序开发者工具开始编译之后便会显示“系统错误,正在排查”
image
image

开发者工具的版本一致嘛?会不会有其他的原因但不是框架的原因可能会导致我本地报错呢?

@bytemain
Copy link
Member

我来看下

@bytemain
Copy link
Member

可以复现,我们这边的结论:

  1. 如果开启 component2,该问题必须升级到小程序基础库 2.0 才能解决。
  2. 钉钉目前无法使用小程序基础库 2.0,我们帮忙推进钉钉升级。

感谢你的反馈。

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