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

结束时间不可以动态配置 #9

Open
HelenTim opened this issue May 8, 2020 · 1 comment
Open

结束时间不可以动态配置 #9

HelenTim opened this issue May 8, 2020 · 1 comment

Comments

@HelenTim
Copy link

HelenTim commented May 8, 2020

在同一个页面有时候 需要结束时间可选也可以不可选。我觉得可以动态配置 endTime参数会更好。这样就不用重复引用组件了。其他配置也是一样,可以动态配置会更好

@rover95
Copy link
Owner

rover95 commented May 12, 2020

没太理解具体的业务环境, 如果表单中需要两个时间picker, 为了保证互不影响是需要实例化两个组件, 或者每次选择都新建组件,选择后销毁, 通过动态调整config配置每次创建的picker

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