We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa62899 commit 2b00c06Copy full SHA for 2b00c06
2 files changed
packages/vue/src/grid/src/table/src/methods.ts
@@ -1184,6 +1184,8 @@ const Methods = {
1184
if (!_tableVisible) {
1185
return
1186
}
1187
+ // 先更新 bodyWrapperMaxHeight,minHeight/height,确保之后用新值
1188
+ this.updateStyle()
1189
1190
if (!bodyWrapper) {
1191
return this.computeScrollLoad()
packages/vue/src/grid/src/table/src/table.ts
@@ -531,6 +531,12 @@ export default defineComponent({
531
height() {
532
this.$nextTick(this.recalculate)
533
},
534
+ maxHeight() {
535
+ this.$nextTick(this.recalculate)
536
+ },
537
+ minHeight() {
538
539
540
syncResize(value) {
541
// 是否自动根据状态属性去更新响应式表格宽高
542
value && this.$nextTick(this.recalculate)
0 commit comments