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; // 固定图片高度