提交 6ec74475 authored 作者: chscls@163.com's avatar chscls@163.com

增加h5、pc个性化

上级 611eaecd
...@@ -565,6 +565,7 @@ export default class ZdyTable extends Component { ...@@ -565,6 +565,7 @@ export default class ZdyTable extends Component {
return ( return (
<tr key={i}> <tr key={i}>
{row.map((cell, j) => { {row.map((cell, j) => {
if (!cell.content) { if (!cell.content) {
return; return;
} }
...@@ -606,7 +607,7 @@ export default class ZdyTable extends Component { ...@@ -606,7 +607,7 @@ export default class ZdyTable extends Component {
...styles, ...styles,
display: display:
cell.content && cell.content &&
cell.content.comName === 'InputHidden' && (cell.content.comName === 'InputHidden'||cell.content.isHidden) &&
'none', 'none',
}} }}
> >
......
...@@ -134,7 +134,7 @@ export default class isNewTable extends Component { ...@@ -134,7 +134,7 @@ export default class isNewTable extends Component {
return ( return (
<Col <Col
style={{ style={{
display: ary.content && ary.content.comName === 'InputHidden' && 'none', display: ary.content && (ary.content.comName === 'InputHidden'||ary.content.isMobileHidden) && 'none',
...styles, ...styles,
}} }}
span={ary.content?.labelSpan||24} span={ary.content?.labelSpan||24}
...@@ -255,7 +255,7 @@ export default class isNewTable extends Component { ...@@ -255,7 +255,7 @@ export default class isNewTable extends Component {
width: '100%', width: '100%',
height: '100%', height: '100%',
...styles, ...styles,
display: ary.content && ary.content.comName === 'InputHidden' && 'none', display: ary.content && (ary.content.comName === 'InputHidden'||ary.content.isMobileHidden)&& 'none',
}} }}
> >
<TableCom <TableCom
...@@ -296,7 +296,7 @@ export default class isNewTable extends Component { ...@@ -296,7 +296,7 @@ export default class isNewTable extends Component {
<Card.Body <Card.Body
style={{ style={{
// textAlign:ary.content&&ary.content.comName === 'Table'?"left":'right' // textAlign:ary.content&&ary.content.comName === 'Table'?"left":'right'
display: ary.content && ary.content.comName === 'InputHidden' && 'none', display: ary.content && (ary.content.comName === 'InputHidden'||ary.content.isMobileHidden) && 'none',
}} }}
> >
{' '} {' '}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论