king
2021-05-27 62ebae424b86bb51f86d3d8852eb38450db9769a
src/tabviews/custom/components/card/cardcellList/index.jsx
@@ -428,8 +428,17 @@
      )
    } else if (card.eleType === 'picture') {
      let _imagestyle = {}
      let _style = card.style ? {...card.style} : {}
      let _style = card.style ? {margin: '0 auto', ...card.style} : {}
      let url = ''
      if (card.maxWidth) {
        _style.maxWidth = card.maxWidth
        if (_style.marginLeft === '0px') {
          delete _style.marginLeft
        }
        if (_style.marginRight === '0px') {
          delete _style.marginRight
        }
      }
      if (card.datatype === 'static') {
        url = card.url