fix: table affix top demo (#215)

This commit is contained in:
yuyang 2022-07-06 18:35:32 +08:00 committed by GitHub
parent 3a903d7cfb
commit 565971d3c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View File

@ -31,7 +31,7 @@
"tvision-color": "^1.3.1", "tvision-color": "^1.3.1",
"vue": "^3.2.31", "vue": "^3.2.31",
"vue-clipboard3": "^2.0.0", "vue-clipboard3": "^2.0.0",
"vue-router": "^4.0.11" "vue-router": "~4.0.11"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^16.2.1", "@commitlint/cli": "^16.2.1",

View File

@ -24,8 +24,7 @@
:pagination="pagination" :pagination="pagination"
:selected-row-keys="selectedRowKeys" :selected-row-keys="selectedRowKeys"
:loading="dataLoading" :loading="dataLoading"
:header-affixed-top="true" :header-affixed-top="{ offsetTop, container: getContainer }"
:header-affix-props="{ offsetTop, container: getContainer }"
@page-change="rehandlePageChange" @page-change="rehandlePageChange"
@change="rehandleChange" @change="rehandleChange"
@select-change="rehandleSelectChange" @select-change="rehandleSelectChange"

View File

@ -73,8 +73,7 @@
:hover="hover" :hover="hover"
:pagination="pagination" :pagination="pagination"
:loading="dataLoading" :loading="dataLoading"
:header-affixed-top="true" :header-affixed-top="{ offsetTop, container: getContainer }"
:header-affix-props="{ offsetTop, container: getContainer }"
@page-change="rehandlePageChange" @page-change="rehandlePageChange"
@change="rehandleChange" @change="rehandleChange"
> >