We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
button点击时如何获取到点的是哪个button?
bindCardEvent() { this.cardGroupEntity.children.forEach((card) => { card.getComponent(Button)?.addClicked(this.onCardBtnClick); }); } private onCardBtnClick(e) { console.log(this, e); }
打印了一下this和e,好像没办法直接用
The text was updated successfully, but these errors were encountered:
在 1.5 里程碑我们会:
Sorry, something went wrong.
No branches or pull requests
button点击时如何获取到点的是哪个button?
打印了一下this和e,好像没办法直接用

The text was updated successfully, but these errors were encountered: