彭真
彭真
https://user-images.githubusercontent.com/12759499/161611838-d6157489-d9cd-4601-af97-3e5567d01198.mov
@07akioni 有人提供了解决方案,是否可以采用? https://github.com/vuejs/core/issues/5603#issuecomment-1715369413
效果预览: https://github.com/tusen-ai/naive-ui/assets/12759499/5bf94249-1c72-4303-85ca-5289c6c07862
> Wouldn't it be wired if year click triggers panel close? Month click is somehow reasonable in specific cases. 我尝试做这个。
> > > Wouldn't it be wired if year click triggers panel close? Month click is somehow reasonable in specific cases. > > > > > > 我尝试做这个。 > >...
adds `closePanelOnSelectYear`, `closePanelOnSelectMonth` prop https://github.com/tusen-ai/naive-ui/assets/12759499/68721184-df78-4d00-ae81-c52043382715
- [ ] 菜单收起交互优化 提过一个 PR,可能 API 过于繁琐,没有 merge,如果有需要调整的地方,可及时告知。 https://github.com/tusen-ai/naive-ui/pull/5564
> * [ ] 菜单收起交互优化 > > 提过一个 PR,可能 API 过于繁琐,没有 merge,如果有需要调整的地方,可及时告知。 [#5564](https://github.com/tusen-ai/naive-ui/pull/5564) @jahnli 请帮忙确定以下 2 个方案,更倾向于哪一种实现? - 新增属性,控制是否选择后隐藏 panel - `closePanelOnSelectDate`,选择年或月后,关闭面板 - `closePanelOnSelectYear`,选择年后,关闭面板 - `closePanelOnSelectMonth`,选择月后,关闭面板 - 默认选择年或月后,直接关闭弹窗 之前的 pr...
> > > * [ ] 菜单收起交互优化 > > > 提过一个 PR,可能 API 过于繁琐,没有 merge,如果有需要调整的地方,可及时告知。 [#5564](https://github.com/tusen-ai/naive-ui/pull/5564) > > > > > > [@jahnli](https://github.com/jahnli) 请帮忙确定以下 2 个方案,更倾向于哪一种实现? > > > >...
If need other info, please feel free to contact me.