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

在使用decorator时报错 #2216

Closed
TiamoJrZhang opened this issue Feb 19, 2019 · 4 comments
Closed

在使用decorator时报错 #2216

TiamoJrZhang opened this issue Feb 19, 2019 · 4 comments

Comments

@TiamoJrZhang
Copy link

image
具体试验代码如下:
qq 20190219170041
qq 20190219170139
代码放到react环境下正常运行,这是什么原因,麻烦大佬看下@luckyadam

@taro-bot
Copy link

taro-bot bot commented Feb 19, 2019

欢迎提交 Issue~

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

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

Good luck and happy coding~

@NervJS NervJS deleted a comment Feb 19, 2019
@yuche
Copy link
Contributor

yuche commented Feb 19, 2019

taro 目前还不支持劫持 render 函数的装饰器,你可以在 #1155 追踪这个特性的进展。

@yuche yuche added the resolved label Feb 19, 2019
@yuche
Copy link
Contributor

yuche commented Feb 19, 2019

Duplicate of #1155

@yuche yuche marked this as a duplicate of #1155 Feb 19, 2019
@yuche yuche closed this as completed Feb 19, 2019
@TiamoJrZhang
Copy link
Author

Duplicate of #1155

好的感谢

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