style: 调整按钮容器宽度,确保第 4 个按钮换行
This commit is contained in:
@@ -119,7 +119,7 @@
|
|||||||
<el-table-column prop="updated_at" label="更新时间" width="140"><template #default="scope">{{ formatDate(scope.row.updated_at) }}</template></el-table-column>
|
<el-table-column prop="updated_at" label="更新时间" width="140"><template #default="scope">{{ formatDate(scope.row.updated_at) }}</template></el-table-column>
|
||||||
<el-table-column label="操作" width="300" fixed="right">
|
<el-table-column label="操作" width="300" fixed="right">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<div class="flex gap-1 flex-wrap" style="max-width: 260px;">
|
<div class="flex gap-1 flex-wrap" style="max-width: 200px;">
|
||||||
<el-button size="small" @click="openPreview(scope.row)" type="primary">预览</el-button>
|
<el-button size="small" @click="openPreview(scope.row)" type="primary">预览</el-button>
|
||||||
<el-button size="small" type="success" :disabled="scope.row.status !== '待处理'" @click="createTopic(scope.row)">创作</el-button>
|
<el-button size="small" type="success" :disabled="scope.row.status !== '待处理'" @click="createTopic(scope.row)">创作</el-button>
|
||||||
<el-button size="small" type="warning" :disabled="scope.row.status !== '待审查'" @click="optimizeTopic(scope.row)">审查</el-button>
|
<el-button size="small" type="warning" :disabled="scope.row.status !== '待审查'" @click="optimizeTopic(scope.row)">审查</el-button>
|
||||||
|
|||||||
Reference in New Issue
Block a user