king
2024-06-21 b78198e00a34eaa2b0a761bb6f42bf14e7771883
src/components/tabview/index.jsx
@@ -19,7 +19,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 TabViews extends Component {
  state = {
@@ -36,7 +38,7 @@
        activeId: 'home_page_id',
        tabviews: [{
          MenuID: 'home_page_id',
          MenuName: '首页',
          MenuName: window.GLOB.dict['home'] || '首页',
          type: 'Home'
        }]
      })