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

requestSubscribeMessage 只补充了类型定义,并没有添加该方法 #4686

Closed
zhaofinger opened this issue Oct 25, 2019 · 3 comments
Closed

Comments

@zhaofinger
Copy link
Contributor

问题描述
requestSubscribeMessage 只补充了类型定义,Taro并没有添加该方法,直接调用会报错。

复现步骤
[复现问题的步骤]

  1. 使用Taro.requestSubscribeMessage调用报错
Taro.requestSubscribeMessage({
  tmplIds: MESSAGE_IDS,
  success(res) {
    console.log(res);
  },
  fail(err) {
    console.log(err);
  },
});

期望行为
Taro添加requestSubscribeMessage方法

报错信息
image

系统信息

  • 操作系统: [e.g. macOS 10.15]
  • Taro 版本 [e.g. 1.3.21]
  • Node.js 版本 [e.g. 10.15.0]
  • 报错平台 [weapp]
@taro-bot
Copy link

taro-bot bot commented Oct 25, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@Garfield550
Copy link
Collaborator

@zhaofinger
Copy link
Contributor Author

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