jd-opensource / drip-form

基于React和JSONSchema的动态表单解决方案
https://jd-opensource.github.io/drip-form/
MIT License
613 stars 73 forks source link

fix: inaccurate width calculation when margin contains extra spaces #233

Closed mengshang918 closed 2 years ago

mengshang918 commented 2 years ago

Motivation

修复containerStyle.margin字段多余空格,导致宽度计算不准确的问题

 "containerStyle": {
      "margin": "0 16px 0 0 "
    }

Have you read the Contributing Guidelines on pull requests?

Y

Test Plan

N

Related PRs

N