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

阿里小程序IDE uni.createSelectorQuery(...).in is not a function #1190

Closed
diablosin opened this issue Dec 27, 2019 · 2 comments
Closed

Comments

@diablosin
Copy link

diablosin commented Dec 27, 2019

问题描述
阿里小程序IDE uni.createSelectorQuery(...).in is not a function

复现步骤
HBuilder X 运行钉钉小程序项目,调用阿里小程序IDE打开编译后项目,执行相关代码uni.createSelectorQuery().in(this)

实际结果
uni.createSelectorQuery(...).in is not a function

系统信息:

  • 发行平台: 阿里小程序
  • HBuilderX版本 2.4.6
    阿里小程序IDE 1.1.3
@Wangyaqi
Copy link
Contributor

Wangyaqi commented Dec 27, 2019

阿里系列小程序不支持in(this) , 请使用条件编译。已补充文档说明

// #ifndef MP-ALIPAY
.in(this)
// #endif

@Wangyaqi
Copy link
Contributor

现已修改为使用in(this)不报错

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

2 participants