Browse Source

doc: fix site error

pull/5879/head
tangjinzhou 2 years ago
parent
commit
fa53e89e51
  1. 2
      site/src/i18n.js

2
site/src/i18n.js

@ -4,7 +4,7 @@ import zhCN from './locale/zh-CN';
import { isZhCN } from './utils/util';
const i18n = createI18n({
legacy: true,
legacy: false,
locale: isZhCN(location.pathname) ? 'zh-CN' : 'en-US',
fallbackLocale: 'en-US',
messages: {

Loading…
Cancel
Save