fix(SingleImageUpload): 🐛 修复表格里的图片设置宽度无效问题
This commit is contained in:
@@ -166,14 +166,14 @@ const onError = (error: any) => {
|
|||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
:deep(.el-upload--picture-card) {
|
: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");
|
width: v-bind("props.style.width");
|
||||||
height: v-bind("props.style.height");
|
height: v-bind("props.style.height");
|
||||||
}
|
}
|
||||||
|
|
||||||
.single-upload {
|
.single-upload {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
width: v-bind("props.style.width");
|
||||||
|
height: v-bind("props.style.height");
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border: 1px var(--el-border-color) solid;
|
border: 1px var(--el-border-color) solid;
|
||||||
|
|||||||
Reference in New Issue
Block a user