优化老版本插槽

This commit is contained in:
binbin_pan 2024-06-19 10:34:22 +08:00
parent 0616cc2bf0
commit 5c3c788d71
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@
<el-table v-loading="loading" :data="roleList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center" width="100" type="index">
<template scope="scope">
<template slot-scope="scope">
<span>{{ (queryParams.pageNum - 1) * 10 + scope.$index + 1 }}</span>
</template>
</el-table-column>