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

遗漏部分 Component 接口 #96

Closed
SgLy opened this issue Jan 13, 2020 · 2 comments
Closed

遗漏部分 Component 接口 #96

SgLy opened this issue Jan 13, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@SgLy
Copy link
Contributor

SgLy commented Jan 13, 2020

https://developers.weixin.qq.com/community/develop/doc/0002c208a4c4004fffb98eae156400

缺少 selectOwnerComponent, animateclearAnimation

@SgLy SgLy added the bug Something isn't working label Jan 13, 2020
@todo-fixme
Copy link

todo-fixme commented Jan 17, 2020

BaseComponent 不支持 自定义的 bindtap='onComponentItemsClick' 方法传递参数?
methods:
{
onComponentItemsClick(e:any) {
console.log("onDayClick", this);
}
}

那 onComponentItemsClick 怎么接收参数?

补充.是我遗漏了 arguments ,可以用以下方式
{
onComponentItemsClick() {
console.log("onDayClick", arguments[0].currentTarget.dataset);
}
}

@SgLy
Copy link
Contributor Author

SgLy commented Jan 19, 2020

@todo-fixme 事件的类型现在还不支持,但我们有支持的计划,可以在 #58 跟踪。还有和这个 issue 无关的其他问题的话新开一个 issue 吧

@SgLy SgLy closed this as completed in 6113474 Jan 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants