fix: style

This commit is contained in:
Fine 2024-01-03 19:03:43 +08:00
parent 881620ba81
commit 5341011ba2

View File

@ -73,7 +73,7 @@ limitations under the License. -->
<span v-else> -- </span> <span v-else> -- </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="isDefault" label="Default Dashboard" width="80"> <el-table-column prop="isDefault" label="Default Dashboard" width="140">
<template #default="scope"> <template #default="scope">
<el-popconfirm <el-popconfirm
:title="t('rootTitle')" :title="t('rootTitle')"
@ -81,7 +81,7 @@ limitations under the License. -->
v-if="[EntityType[0].value].includes(scope.row.entity)" v-if="[EntityType[0].value].includes(scope.row.entity)"
> >
<template #reference> <template #reference>
<el-button size="small" style="width: 50px"> <el-button size="small" style="width: 80px">
{{ scope.row.isDefault ? "Disable" : "Enable" }} {{ scope.row.isDefault ? "Disable" : "Enable" }}
</el-button> </el-button>
</template> </template>