fix(datetime-picker): update change event to include detailed parameters in the emitted event #6041
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix(datetime-picker): update change event to include detailed parameters in the emitted event
场景
实现当切换的日 非当天,设置默认的时间为上班时间八点半
问题
目前无法获取到触发修改的列索引,在
picker组件内看到了参数的传递,但是在datetime-picker进行了覆盖,覆盖的内容属于picker传递的事件参数子集, 也就是仅包含了picker实例,不如直接传递