Commit 44eb63c0 authored by zhuyangbin's avatar zhuyangbin

update

parent 620b48ed
import en_US from './en_US' import en_US from './en_US';
import zh_CN from './zh_CN' import zh_CN from './zh_CN';
export default function (key) { export default function (key) {
// 333
// 111 // 111
// const lang = storage.lang || 'zh_CN' // const lang = storage.lang || 'zh_CN'
const lang = 'zh_CN' const lang = 'zh_CN';
let wholeObj = {} let wholeObj = {};
if(lang === 'zh_CN'){ if (lang === 'zh_CN') {
wholeObj = zh_CN wholeObj = zh_CN;
} else if (lang === 'en_US') { } else if (lang === 'en_US') {
wholeObj = en_US wholeObj = en_US;
} }
return wholeObj[key] || '' return wholeObj[key] || '';
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment