Replace the deprecated Element Plus API

This commit is contained in:
pa
2025-11-10 14:28:35 +09:00
committed by Natsumi
parent 6451fd5bcf
commit e317c64035
44 changed files with 159 additions and 178 deletions

View File

@@ -38,20 +38,20 @@
<el-table-column :label="t('table.previous_instances.action')" width="90" align="right">
<template #default="scope">
<el-button
type="text"
text
:icon="DataLine"
size="small"
@click="showPreviousInstancesInfoDialog(scope.row.location)" />
<el-button
v-if="shiftHeld"
style="color: #f56c6c"
type="text"
text
:icon="Close"
size="small"
@click="deleteGameLogGroupInstance(scope.row)" />
<el-button
v-else
type="text"
text
:icon="Close"
size="small"
@click="deleteGameLogGroupInstancePrompt(scope.row)" />
@@ -94,7 +94,7 @@
defaultSort: { prop: 'created_at', order: 'descending' }
},
pageSize: 10,
paginationProps: { small: true, layout: 'sizes,prev,pager,next,total', pageSizes: [10, 25, 50, 100] }
paginationProps: { layout: 'sizes,prev,pager,next,total', pageSizes: [10, 25, 50, 100] }
});
const props = defineProps({

View File

@@ -118,7 +118,6 @@
},
pageSize: 10,
paginationProps: {
small: true,
layout: 'sizes,prev,pager,next,total',
pageSizes: [10, 25, 50, 100]
}

View File

@@ -42,7 +42,7 @@
<el-table-column :label="t('table.previous_instances.action')" width="90" align="right">
<template #default="scope">
<el-button
type="text"
text
:icon="DataLine"
size="small"
class="button-pd-0"
@@ -50,14 +50,14 @@
<el-button
v-if="shiftHeld"
style="color: #f56c6c"
type="text"
text
:icon="Close"
size="small"
class="button-pd-0"
@click="deleteGameLogWorldInstance(scope.row)"></el-button>
<el-button
v-else
type="text"
text
:icon="Close"
size="small"
class="button-pd-0"
@@ -110,7 +110,6 @@
},
pageSize: 10,
paginationProps: {
small: true,
layout: 'sizes,prev,pager,next,total',
pageSizes: [10, 25, 50, 100]
}