src/templates/modalconfig/checkCard/index.jsx
@@ -10,7 +10,9 @@ onChange: PropTypes.func, // 数据切换 } state = {} state = { appType: sessionStorage.getItem('appType'), } getCards = () => { const { display, width, options, fields, ratio, picratio, backgroundColor } = this.props.config @@ -23,7 +25,7 @@ } let cls = '' if (_options.length * width <= 24) { if (_options.length * width <= 24 && this.state.appType !== 'mob') { cls = 'no-margin-bottom' } if (display === 'picture') {