chenlu
5 天以前 fdce23c7c4ddc9f1aa1257e5e0254c3b66b53eaf
north-glass-erp/northglass-erp/src/components/ImageSizeEditor.vue
@@ -80,7 +80,7 @@
  maxHeight: { type: Number, default: 3000 },
  fit: { type: String, default: 'contain' },
  marginX: { type: String, default: '30px' },
  dialogTitle: { type: String, default: '设置图片尺寸' },
  showHint: { type: Boolean, default: true }
})
@@ -126,10 +126,12 @@
  return {
    width: `${w}px`,
    height: `${h}px`,
    margin: props.margin,
    marginLeft: props.marginX,
    marginRight: props.marginX
  }
}
const openSizeDialog = (img, index) => {
  const key = getKey(img, index)
  activeKey.value = key