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",
"vue": "^3.2.31",
"vue-clipboard3": "^2.0.0",
"vue-router": "^4.0.11"
"vue-router": "~4.0.11"
},
"devDependencies": {
"@commitlint/cli": "^16.2.1",

View File

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

View File

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