king
2021-05-27 62ebae424b86bb51f86d3d8852eb38450db9769a
src/pc/components/login/normal-login/index.jsx
@@ -139,6 +139,16 @@
  render() {
    const { card, dict } = this.state
    let style = resetStyle(card.style)
    if (card.wrap.maxWidth) {
      style.maxWidth = card.wrap.maxWidth
      let left = style.marginLeft && style.marginLeft !== '0px' ? style.marginLeft : 'auto'
      let right = style.marginRight && style.marginRight !== '0px' ? style.marginRight : 'auto'
      style.margin = (style.marginTop || 0) + ' ' + right + ' ' + (style.marginBottom || 0) + ' ' + left
      delete style.marginLeft
      delete style.marginRight
      delete style.marginTop
      delete style.marginBottom
    }
    return (
      <div className="login-edit-box" style={style} onClick={this.clickComponent} id={card.uuid}>