chenlu
4 天以前 c9834a08fe9cb6ed9daabfce3fd73936d997aee1
north-glass-erp/northglass-erp/src/components/ImageSizeEditor.vue
@@ -81,6 +81,7 @@
  fit: { type: String, default: 'contain' },
  marginX: { type: String, default: '30px' },
  marginY: { type: String, default: '50px' },
  dialogTitle: { type: String, default: '设置图片尺寸' },
  showHint: { type: Boolean, default: true }
})
@@ -127,7 +128,9 @@
    width: `${w}px`,
    height: `${h}px`,
    marginLeft: props.marginX,
    marginRight: props.marginX
    marginRight: props.marginX,
    marginTop: props.marginY,
    marginBottom: props.marginY
  }
}