style: 操作列按钮换行后左对齐,修复样式问题
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 label="操作" width="300" fixed="right">
|
||||
<template #default="scope">
|
||||
<div class="flex gap-1 flex-wrap" style="max-width: 200px;">
|
||||
<div class="flex flex-wrap gap-1" style="justify-content: flex-start; max-width: 100%;">
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user