| | |
| | | import { Affix } from 'antd' |
| | | |
| | | import asyncComponent from './asyncButtonComponent' |
| | | import zhCN from '@/locales/zh-CN/main.js' |
| | | import enUS from '@/locales/en-US/main.js' |
| | | import './index.scss' |
| | | |
| | | const NormalButton = asyncComponent(() => import('./normalbutton')) |
| | |
| | | ContainerId: PropTypes.any // tab页面ID,用于弹窗控制 |
| | | } |
| | | |
| | | state = { |
| | | dict: sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS |
| | | } |
| | | state = {} |
| | | |
| | | shouldComponentUpdate (nextProps, nextState) { |
| | | return !is(fromJS(this.props), fromJS(nextProps)) || !is(fromJS(this.state), fromJS(nextState)) |