commonAuto.js 647 Bytes
import React from 'react';
import { connect } from 'dva';
import CommonAutoComponent from '../../components/CommonAuto/CommonAuto';

function CommonAuto({
  dispatch, app, content, location,
}) {
  const commonAuto = {
    app,
    content,
    dispatch,
    location,
    formRoute: '/commonAuto',
    // routing: location,
    // sModelsId: '16023076160002851926300441337000', /* 通用自定义界面sId */
    // sModelsId: '16073932850005572635673985499000', /* 通用自定义模板1-sId */
  };

  return (
    <CommonAutoComponent {...commonAuto} />
  );
}

export default connect(({ app, content }) =>
  ({ app, content }))(CommonAuto);