feat: change mcp list style (#8336)

This commit is contained in:
zhengkunwang 2025-04-07 17:35:50 +08:00 committed by GitHub
parent f84e284c20
commit 038f2b4f54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,7 +33,7 @@
<CopyButton :content="row.baseUrl + row.ssePath" type="icon" /> <CopyButton :content="row.baseUrl + row.ssePath" type="icon" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('commons.table.status')" prop="status" width="100px"> <el-table-column :label="$t('commons.table.status')" prop="status" width="120px">
<template #default="{ row }"> <template #default="{ row }">
<el-popover <el-popover
v-if="row.status === 'error'" v-if="row.status === 'error'"
@ -52,7 +52,7 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('commons.button.log')" prop="path" width="100px"> <el-table-column :label="$t('commons.button.log')" prop="path" width="120px">
<template #default="{ row }"> <template #default="{ row }">
<el-button <el-button
@click="openLog(row)" @click="openLog(row)"
@ -73,8 +73,8 @@
fix fix
/> />
<fu-table-operations <fu-table-operations
:ellipsis="mobile ? 0 : 10" :ellipsis="mobile ? 0 : 2"
:min-width="mobile ? 'auto' : 300" :min-width="mobile ? 'auto' : 200"
:buttons="buttons" :buttons="buttons"
:label="$t('commons.table.operate')" :label="$t('commons.table.operate')"
fixed="right" fixed="right"