style: 调整按钮容器宽度,确保第 4 个按钮换行

This commit is contained in:
lt
2026-04-27 11:23:00 +08:00
parent 86425eb18f
commit 4412adfae5
+1 -1
View File
@@ -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 label="操作" width="300" fixed="right">
<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" 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>