import * as React from 'react' import { Breadcrumb, Steps, CessCreateTitleBar, CessCreateBtnBar, Button, CessCard } from 'cess-ui' import { RouteComponentProps } from 'react-router-dom' import './index.less' let { LeftBtnBar, RightBtnBar } = CessCreateBtnBar interface IProps extends RouteComponentProps {} interface IState { step: number loading: boolean } export default class ${className} extends React.Component { constructor(props: IProps) { super(props) this.state = { step: 1, loading: false, } } private next() { this.setState({ step: this.state + 1, }) } public render() { const { step } = this.state return (
搜索场景 新建场景 {' '} {step === 1 ? (
基本信息内容
) : (
基本信息
)}
) } }