From 6946907d67937f5dea759e1c8ffdcdc9d6765ed4 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 04 七月 2022 14:06:16 +0800 Subject: [PATCH] 2022-07-04 --- src/templates/modalconfig/checkCard/index.jsx | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/templates/modalconfig/checkCard/index.jsx b/src/templates/modalconfig/checkCard/index.jsx index dea9b8a..1766dd0 100644 --- a/src/templates/modalconfig/checkCard/index.jsx +++ b/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') { -- Gitblit v1.8.0