text: import intl from 'react-intl-universal'
  import zhLocale from '@/locale/zh-CN'
  import enLocale from '@/locale/en-US'
  
  // 初始化
  const loadLocales = () => {
    intl.init({
      currentLocale: sessionStorage.getItem('language') || 'zh-CN',
      locales: {
        'en-US': {
          ...enLocale
        },
        'zh-CN': {
          ...zhLocale
        }
      }
    })
  }
  
  loadLocales()
  window.intl = intl