fix(SingleImageUpload): 🐛 修复表格里的图片设置宽度无效问题

This commit is contained in:
Ray.Hao
2025-04-21 00:17:54 +08:00
parent ce748496c6
commit 2dab0b5b4d

View File

@@ -166,14 +166,14 @@ const onError = (error: any) => {
<style scoped lang="scss">
:deep(.el-upload--picture-card) {
/* width: var(--el-upload-picture-card-size);
height: var(--el-upload-picture-card-size); */
width: v-bind("props.style.width");
height: v-bind("props.style.height");
}
.single-upload {
position: relative;
width: v-bind("props.style.width");
height: v-bind("props.style.height");
overflow: hidden;
cursor: pointer;
border: 1px var(--el-border-color) solid;