<div class="editor-after-div"> <el-upload class="updata-after-upload" action="https://jsonplaceholder.typicode.com/posts/" list-type="picture-card" :on-success="updateAddSuceess" :on-preview="updataViewLoginImg" :on-remove="updataRemoveImg"> </el-upload> <el-dialog :visible.sync="updataAddFlag"> <img width="100%" :src="updataAddImg" alt=""> </el-dialog> </div> .editor-after-div >>>.el-upload{ widtH:56px; height: 56px; text-align: center; line-height: 56px; } .editor-after-div >>>.el-upload-list__item-thumbnail{ width: 56px; height: 56px; } .editor-after-div >>>.el-upload-list__item{ width: 56px; height: 56px; }