-
Notifications
You must be signed in to change notification settings - Fork 484
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
Refactor Table with Composition API and Some New Features #468
Merged
PengYYYYY
merged 40 commits into
Tencent:develop
from
chaishi:20220319_feature_table_composition_api
Apr 6, 2022
Merged
Refactor Table with Composition API and Some New Features #468
PengYYYYY
merged 40 commits into
Tencent:develop
from
chaishi:20220319_feature_table_composition_api
Apr 6, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chaishi
changed the title
Refactor Table with Composition API
Refactor Table with Composition API and Some New Feature
Mar 21, 2022
chaishi
changed the title
Refactor Table with Composition API and Some New Feature
Refactor Table with Composition API and Some New Features
Mar 21, 2022
Closed
This was referenced Mar 21, 2022
Closed
PengYYYYY
reviewed
Mar 24, 2022
|
PengYYYYY
approved these changes
Apr 6, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR 重点在于重构 BaseTable/PrimaryTable/EnhancedTable 组件,使用
Composition API
的方式开发,顺带修复以下问题,特别是 table-layout: auto 存在的各种问题。效果预览地址:https://preview-pr468-tdesign-vue-next.surge.sh/
sortOnRowDraggable
更为dragSort='col'
th
标签,之前为td
,不符合语义row-db-click
更为row-dblclick
,onRowDbClick
更为rowDblclick
row-hover
更为row-mouseover
,onRowHover
更为onRowMouseover
(本没有 rowHover 事件)t-table__row-first-full-row
更为t-table__first-full-row
,t-table__row-last-full-row
更为t-table__last-full-row
🐛 Affix 组件 BUG FIX
onFixedChange
触发时机,在固定状态发生变化时才会触发该事件(改动之前为:滚动一直触发)🐛 Table 组件 BUG FIX
verticalAlign
不生效问题,issue#372table-layout: fixed
模式,同时也支持table-layout: auto
模式tableLayout: auto
,固定表头异常,issue#278tableLayout: auto
,maxHeight
显示异常,issue#371💄 Table 组件 FEATURE
ellipsis
浮层位置底部右对齐ellipsis
支持透传 Popup 组件全部属性loadingProps
透传加载组件全部特性scroll
滚动事件