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

[Bug Report] Calendar组件,使用footer slot会导致show-confirm的确认按钮不显示。或者说如何在footer插槽中实现确认按钮功能? #5780

Closed
dsgvsn opened this issue May 6, 2024 · 1 comment

Comments

@dsgvsn
Copy link

dsgvsn commented May 6, 2024

重现链接

<van-calendar show="{{ true }}" type="range" allow-same-day bind:close="onClose" bind:confirm="onConfirm"> <view slot="footer">这是footer插槽</view> </van-calendar>

Vant Weapp 版本

1.11.5

描述一下你遇到的问题。

日历组件的footer插槽导致默认的确认按钮不显示。

重现步骤

undefined

设备/浏览器

No response

@landluck
Copy link
Contributor

使用 footer slot 后按钮需要自己实现。footer slot 和 冲突

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants