mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-10-14 19:22:13 +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">
|
<a-tab-pane v-for="page in pageList" :key="page.path" :closable="route.path !== page.path">
|
||||||
<template #tab>
|
<template #tab>
|
||||||
{{page.name}}
|
{{page.title}}
|
||||||
<ReloadOutlined
|
<ReloadOutlined
|
||||||
v-show="route.path === page.path"
|
v-show="route.path === page.path"
|
||||||
class="layout-tabs-close-icon"
|
class="layout-tabs-close-icon"
|
||||||
@ -75,6 +75,7 @@ export default {
|
|||||||
params: unref(route.params)
|
params: unref(route.params)
|
||||||
},
|
},
|
||||||
name: unref(route.meta).name,
|
name: unref(route.meta).name,
|
||||||
|
title: unref(route.meta).title,
|
||||||
key: getKey()
|
key: getKey()
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
@ -85,6 +86,7 @@ export default {
|
|||||||
path: to.path,
|
path: to.path,
|
||||||
route: to,
|
route: to,
|
||||||
name: to.meta.name,
|
name: to.meta.name,
|
||||||
|
title: to.meta.title,
|
||||||
key: getKey()
|
key: getKey()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user