| | |
| | | ratio = ratio + 'vw' |
| | | } |
| | | return <Modal |
| | | wrapClassName={'popview-modal ' + (!btn.$view ? '' : 'custom-popview ') + (btn.popshow || '')} |
| | | wrapClassName={`popview-modal popview-${btn.uuid} ` + (!btn.$view ? '' : 'custom-popview ') + (btn.popshow || '')} |
| | | title={btn.label} |
| | | width={ratio} |
| | | maskClosable={btn.clickouter === 'close'} |
| | |
| | | return ( |
| | | <Drawer |
| | | title={btn.label} |
| | | className={!btn.$view ? 'table-drawer-popview' : 'custom-drawer-popview' } |
| | | className={!btn.$view ? 'table-drawer-popview' : 'custom-drawer-popview popview-' + btn.uuid} |
| | | width={width} |
| | | height={height} |
| | | maskClosable={btn.clickouter === 'close'} |