|
@@ -13,7 +13,8 @@
|
|
:loading="loading"
|
|
:loading="loading"
|
|
@resizeColumn="handleResizeColumn"
|
|
@resizeColumn="handleResizeColumn"
|
|
>
|
|
>
|
|
- <template #bodyCell="{ column, record }">
|
|
|
|
|
|
+ <template #bodyCell="{ column, record, index }">
|
|
|
|
+ <template v-if="column.dataIndex === 'index'">{{ index + 1 }} </template>
|
|
<template v-if="column.dataIndex === 'action'">
|
|
<template v-if="column.dataIndex === 'action'">
|
|
<!-- <a-button type="link" size="small" @click="handlerEdit(record)">编辑</a-button> -->
|
|
<!-- <a-button type="link" size="small" @click="handlerEdit(record)">编辑</a-button> -->
|
|
<a-divider type="vertical" />
|
|
<a-divider type="vertical" />
|