diff --git a/src/views/Marketplace.vue b/src/views/Marketplace.vue index 5893e1b0..556ae7b6 100644 --- a/src/views/Marketplace.vue +++ b/src/views/Marketplace.vue @@ -25,10 +25,10 @@ limitations under the License. --> >
- {{ t(menu.i18nKey) }} + {{ te(menu.i18nKey) ? t(menu.i18nKey) : menu.title }}
-
{{ t(menu.descKey) }}
+
{{ te(menu.descKey) ? t(menu.descKey) : "" }}
{{ t("document") }} @@ -37,9 +37,11 @@ limitations under the License. -->
-
{{ t(item.i18nKey) }}
+
+ {{ te(item.i18nKey) ? t(item.i18nKey) : item.title }} +
-
{{ t(item.descKey) }}
+
{{ te(item.descKey) ? t(item.descKey) : "" }}
{{ t("document") }} @@ -54,7 +56,7 @@ limitations under the License. --> import { useAppStoreWithOut } from "@/store/modules/app"; import type { MenuOptions } from "@/types/app"; - const { t } = useI18n(); + const { t, te } = useI18n(); const appStore = useAppStoreWithOut(); const currentItems = ref(appStore.allMenus[0] || {});