Commit 33e61fd1 authored by 皮倩雯's avatar 皮倩雯

fix: '产品授权界面样式'

parent ff24f073
Pipeline #55770 passed with stages
......@@ -199,6 +199,7 @@ const ProductConfig = props => {
<div onClick={e => e.stopPropagation()}>
<Switch
checked={item.IsUsed}
// disabled
checkedChildren="启用"
unCheckedChildren="关闭"
onClick={e => {
......@@ -218,11 +219,13 @@ const ProductConfig = props => {
<div className={styles.box}>
<Card className={classnames(`${styles.leftList}`)}>
<div className={styles.listTop}>可用产品:</div>
{productList && productList.length > 0 ? (
productList.map(item => renderListItem(item))
) : (
<Empty image={Empty.PRESENTED_IMAGE_SIMPLE} description="暂无数据" />
)}
<div style={{ height: 'calc(100vh - 172px)', overflow: 'scroll' }}>
{productList && productList.length > 0 ? (
productList.map(item => renderListItem(item))
) : (
<Empty image={Empty.PRESENTED_IMAGE_SIMPLE} description="暂无数据" />
)}
</div>
</Card>
<Card className={styles.rightForm}>
<EditForm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment