研发图纸文件管理系统-前端项目
修复:修改页签头标题不生效的bug;:star:
fix: the problem that modify page title not effective;
1个文件已修改
3 ■■■■ 已修改文件
src/layouts/tabs/TabsHead.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layouts/tabs/TabsHead.vue
@@ -95,7 +95,8 @@
        this.$emit('contextmenu', pageKey, e)
      },
      pageName(page) {
        const custom = this.customTitles.find(item => item.path === page.fullPath)
        const pagePath = page.fullPath.split('?')[0]
        const custom = this.customTitles.find(item => item.path === pagePath)
        return (custom && custom.title) || page.title || this.$t(getI18nKey(page.keyPath))
      }
    }