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

wxml转义错误 #478

Closed
zacksleo opened this issue Aug 16, 2018 · 2 comments · Fixed by #479
Closed

wxml转义错误 #478

zacksleo opened this issue Aug 16, 2018 · 2 comments · Fixed by #479

Comments

@zacksleo
Copy link
Contributor

问题描述
部分方法名转义错误,多了on

复现步骤

<FunctionalPageNavigator
  version="release"
  onSuccess={this.onSuccess}
  onFail={this.onFail}
/>

期望行为

<functional-page-navigator version="release" __triggerObserer="{{ _triggerObserer }}"
  bindsuccess="onSuccess" bindfail="onFail"></functional-page-navigator>

报错信息

<functional-page-navigator version="release" __triggerObserer="{{ _triggerObserer }}"
  bindonsuccess="onSuccess" bindonfail="onFail"></functional-page-navigator>

系统信息

  • 操作系统: mac
  • Taro 版本 beta10
  • Node.js 版本 8
@yuche
Copy link
Contributor

yuche commented Aug 16, 2018

这个应该是 FunctionalPageNavigator 没有加入内置组件列表的原因。

https://github.com/NervJS/taro/blob/master/packages/taro-transformer-wx/src/constant.ts#L29

有兴趣可以看一下哪个组件缺了然后再提一个 PR。= =

@zacksleo
Copy link
Contributor Author

Got it.

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

Successfully merging a pull request may close this issue.

2 participants