king
2024-06-21 b78198e00a34eaa2b0a761bb6f42bf14e7771883
src/components/breadview/index.jsx
@@ -18,7 +18,9 @@
const Iframe = asyncComponent(() => import('@/tabviews/iframe'))
const RoleManage = asyncComponent(() => import('@/tabviews/rolemanage'))
moment.locale('zh-cn')
if (sessionStorage.getItem('lang') === 'zh-CN') {
  moment.locale('zh-cn')
}
class BreadView extends Component {
  state = {
@@ -32,7 +34,7 @@
  UNSAFE_componentWillMount () {
    let home = {
      MenuID: 'home_page_id',
      MenuName: '首页',
      MenuName: window.GLOB.dict['home'] || '首页',
      type: 'Home'
    }
    this.setState({tabview: home})
@@ -138,7 +140,7 @@
  gotoHome = () => {
    let home = {
      MenuID: 'home_page_id',
      MenuName: '首页',
      MenuName: window.GLOB.dict['home'] || '首页',
      type: 'Home'
    }
    this.setState({tabview: home})