From d8edf7034d958413ee3db59e82d6b3767651cb08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=95=E9=98=B3=E5=BE=AE=E7=AC=911?= <12457268+sunset-smile-1@user.noreply.gitee.com> Date: Mon, 23 Dec 2024 19:36:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/photos/index.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/photos/index.vue b/src/views/photos/index.vue index 2edd9cb..7c482f7 100644 --- a/src/views/photos/index.vue +++ b/src/views/photos/index.vue @@ -41,7 +41,7 @@ 添加图片 - + @@ -572,12 +572,20 @@ onMounted(() => { flex-direction: column; flex: 1; overflow: auto; + .el-table { flex: 1; + width: 100%; + table-layout: fixed; } } + }; +::v-deep .el-table__body{ + width: 100% !important; +} + ::v-deep .el-image { width: 250px; // 固定图片宽度 height: 150px; // 固定图片高度