fix about page bug

This commit is contained in:
Gabe Yuan
2023-08-09 10:41:33 +08:00
parent 395029a5fd
commit 04ec4ad12b

View File

@@ -15,5 +15,5 @@ export const useI18nMd = (key) => {
const i18n = useI18n();
const fileName = i18n(key);
const url = `${URL_RAW_PREFIX}/${fileName}`;
return useFetch(url);
return useFetch(fileName ? url : "");
};