mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-10-14 10:52:28 +08:00
修复菜单导航标题显示错误
This commit is contained in:
parent
ea71626028
commit
223e9c8165
@ -9,7 +9,7 @@
|
||||
>
|
||||
<a-tab-pane v-for="page in pageList" :key="page.path" :closable="route.path !== page.path">
|
||||
<template #tab>
|
||||
{{page.name}}
|
||||
{{page.title}}
|
||||
<ReloadOutlined
|
||||
v-show="route.path === page.path"
|
||||
class="layout-tabs-close-icon"
|
||||
@ -75,6 +75,7 @@ export default {
|
||||
params: unref(route.params)
|
||||
},
|
||||
name: unref(route.meta).name,
|
||||
title: unref(route.meta).title,
|
||||
key: getKey()
|
||||
}
|
||||
]);
|
||||
@ -85,6 +86,7 @@ export default {
|
||||
path: to.path,
|
||||
route: to,
|
||||
name: to.meta.name,
|
||||
title: to.meta.title,
|
||||
key: getKey()
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user