mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-02 20:58:12 +00:00
i18n
This commit is contained in:
@@ -12,11 +12,7 @@ export const setLangStore = (value: `${LangEnum}`) => {
|
||||
};
|
||||
|
||||
export const getLangStore = () => {
|
||||
return Cookies.get(LANG_KEY) || LangEnum.zh;
|
||||
};
|
||||
|
||||
export const removeLangStore = () => {
|
||||
Cookies.remove(LANG_KEY);
|
||||
return (Cookies.get(LANG_KEY) as `${LangEnum}`) || LangEnum.zh;
|
||||
};
|
||||
|
||||
export const serviceSideProps = (content: any) => {
|
||||
|
Reference in New Issue
Block a user