From a94b0a4d15b26ecf8fe99f0a1c3e60d60b97766d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 15 八月 2023 14:22:03 +0800 Subject: [PATCH] 2023-08-15 --- src/views/systemproc/index.jsx | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/views/systemproc/index.jsx b/src/views/systemproc/index.jsx index 734e26b..07d4919 100644 --- a/src/views/systemproc/index.jsx +++ b/src/views/systemproc/index.jsx @@ -2,25 +2,24 @@ import { ConfigProvider } from 'antd' import zhCN from 'antd/es/locale/zh_CN' -// import Api from '@/api' -// import Utils from '@/utils/utils.js' import Header from '../systemfunc/header' +import Proc from './proc' import './index.scss' -class SSOLogin extends Component { - UNSAFE_componentWillMount() { - - } - +class SysProc extends Component { render () { + const { params } = this.props.match + let func = params && params.func ? params.func : '' + return ( <div className="mk-proc-view"> <ConfigProvider locale={zhCN}> <Header key="header"/> + <Proc func={func} /> </ConfigProvider> </div> ) } } -export default SSOLogin \ No newline at end of file +export default SysProc \ No newline at end of file -- Gitblit v1.8.0