''
liukangdong
2024-07-04 5a85dcab83e969d6b21c599b512a15117e9b8651
admin/src/components/common/UploadAvatarImage.vue
@@ -2,7 +2,7 @@
  <div>
    <el-upload
      class="avatar-uploader"
      accept=".png,.jpg"
      accept=".png,.jpg,.jpeg"
      :style="customStyle"
      :action="uploadImgUrl"
      :data="uploadData"
@@ -30,7 +30,7 @@
    tipsLabel: '',
    customStyle: {
      type: String,
      default: 'width: 90px; height: 90px;'
      default: 'width: 90px; max-height: 90px;'
    },
    uploadData: Object
  },
@@ -92,8 +92,8 @@
  text-align: center;
}
.avatar {
  width: 100% !important;
  height: auto !important;
  width: 90px;
  max-height: 90px;
  display: block;
}
.tips-style {