update 大量细节处理
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import React, { Component } from 'react'
|
||||
import { Layout, Tabs, Menu, Dropdown } from 'antd'
|
||||
import { Divider, Layout, Tabs, Menu, Dropdown } from 'antd'
|
||||
import NProgress from 'nprogress'
|
||||
import 'nprogress/nprogress.css'
|
||||
import AntIcon from 'components/ant-icon'
|
||||
import { Container } from 'components'
|
||||
|
||||
NProgress.configure({ parent: '.ant-layout-content > .yo-tab-external-mount > .yo-tab-external-mount-content' });
|
||||
|
||||
@@ -52,7 +53,17 @@ class ComponentDynamic extends Component {
|
||||
|
||||
render() {
|
||||
if (this.state.component) {
|
||||
return <this.state.component key={this.state.key} {...this.props} />
|
||||
return <this.state.component
|
||||
key={this.state.key}
|
||||
{...this.props}
|
||||
supportInfo={
|
||||
<Container>
|
||||
<Divider>
|
||||
<span className="h6 text-gray">技术支持: 宽易科技</span>
|
||||
</Divider>
|
||||
</Container>
|
||||
}
|
||||
/>
|
||||
}
|
||||
return <></>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user