diff --git a/src/components/breadcrumb/index.vue b/src/components/breadcrumb/index.vue index 01b4650..50fce1f 100644 --- a/src/components/breadcrumb/index.vue +++ b/src/components/breadcrumb/index.vue @@ -1,9 +1,19 @@ @@ -18,18 +28,39 @@ export default { methods: { }, + filters: { + i18nName (name, type) { + switch (name) { + case '专利': + return type.t('column.patent') + case '专著': + return type.t('column.monograph') + case '论文': + return type.t('column.paper') + case '科学研究': + return type.t('column.scientificResearch') + + default: + return name + } + } + } }; \ No newline at end of file diff --git a/src/layouts/footer/index.vue b/src/layouts/footer/index.vue index ba5766b..1624dc1 100644 --- a/src/layouts/footer/index.vue +++ b/src/layouts/footer/index.vue @@ -1,48 +1,7 @@