-
Notifications
You must be signed in to change notification settings - Fork 835
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
feat(cascader): 支持end-date属性值动态更新 #3153
base: v4
Are you sure you want to change the base?
Conversation
feat(cascader): 支持end-date属性值动态更新 jdf2e#2183
Walkthrough此次更改在Vue组件中引入了一个新的 Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant CalendarComponent
User->>CalendarComponent: 更新 endDate
CalendarComponent->>CalendarComponent: 监测 endDate 变化
alt endDate 为真
CalendarComponent->>CalendarComponent: 调用 resetRender
end
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- src/packages/__VUE/calendaritem/index.taro.vue (1 hunks)
Additional comments not posted (1)
src/packages/__VUE/calendaritem/index.taro.vue (1)
831-841
: 确保resetRender
仅在必要时调用。当前代码在
endDate
和poppable
为真时调用resetRender
,请确保这不会对组件性能产生负面影响。
feat(cascader): 支持end-date属性值动态更新 #2183
这个 PR 做了什么? (简要描述所做更改)
这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台:
这个 PR 是否已自测:
Summary by CodeRabbit
endDate
更新时,能够适当地重置渲染。poppable
特性时。