index.jsx 475 B

1234567891011121314151617
  1. // import TableStyle from './table'
  2. // import BarStyle from './bar'
  3. export default ({ viewType }) => {
  4. let styleForm = <div>无可用样式配置</div>;
  5. // const formItemLayout = {
  6. // labelCol: { span: 8 },
  7. // wrapperCol: { span: 16 },
  8. // };
  9. if(viewType === 'dataView') {
  10. // styleForm = <TableStyle formItemLayout={formItemLayout}/>
  11. }else if(viewType === 'bar') {
  12. // styleForm = <BarStyle />
  13. }
  14. return styleForm;
  15. }