|
|
@@ -10,7 +10,7 @@
|
|
|
<ElTableColumn prop="createdAt" label="创建时间" :formatter="timeFormatter" width="150" />
|
|
|
<ElTableColumn label="操作" align="center" width="120">
|
|
|
<template #default="{ row }">
|
|
|
- <ElButton @click="onEdit(row)">编辑</ElButton>
|
|
|
+ <ElButton @click="onEdit({ ...row })">编辑</ElButton>
|
|
|
</template>
|
|
|
</ElTableColumn>
|
|
|
</PagingTable>
|