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
问题描述: 我有两种组件,分别是 A 和 B。现在 A 里面会嵌套 B 或者是使用 slot 自定义嵌套 B。我想通过事件代理的形式在 A 组件处理,小程序配置 bubble 和 compose 可以被捕获,但是 web 端就不行了。
<component-A bind:change="onChange"> <slot wx:if="{{ showSlot }}"></slot> <component-B wx:else></component-B> </component-A>
The text was updated successfully, but these errors were encountered:
目前的事件实现机制下暂不支持冒泡,后续我们会考虑重构事件机制以实现冒泡特性
Sorry, something went wrong.
No branches or pull requests
问题描述:
我有两种组件,分别是 A 和 B。现在 A 里面会嵌套 B 或者是使用 slot 自定义嵌套 B。我想通过事件代理的形式在 A 组件处理,小程序配置 bubble 和 compose 可以被捕获,但是 web 端就不行了。
The text was updated successfully, but these errors were encountered: