perf: 适配最新版 pure-tableapi

This commit is contained in:
xiaoxian521 2023-03-30 12:22:10 +08:00
parent 40b7e12eaa
commit 638a95a4af
4 changed files with 7 additions and 7 deletions

View File

@ -37,7 +37,7 @@ const columns: TableColumnList = [
:data="tableData"
:columns="columns"
highlight-current-row
@current-change="handleCurrentChange"
@page-current-change="handleCurrentChange"
/>
<div style="margin-top: 20px">
<el-button @click="setCurrent(tableData[1])">Select second row</el-button>

View File

@ -66,8 +66,8 @@ const {
"
:columns="columns"
:pagination="pagination"
@size-change="onSizeChange"
@current-change="onCurrentChange"
@page-size-change="onSizeChange"
@page-current-change="onCurrentChange"
/>
</div>
</template>

View File

@ -109,8 +109,8 @@ const {
color: 'var(--el-text-color-primary)'
}"
@selection-change="handleSelectionChange"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
@page-size-change="handleSizeChange"
@page-current-change="handleCurrentChange"
>
<template #operation="{ row }">
<el-button

View File

@ -111,8 +111,8 @@ const {
color: 'var(--el-text-color-primary)'
}"
@selection-change="handleSelectionChange"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
@page-size-change="handleSizeChange"
@page-current-change="handleCurrentChange"
>
<template #operation="{ row }">
<el-button