add pageTitle as yet another page title possibility
This commit is contained in:
parent
43117649f5
commit
aa885041d6
@ -83,6 +83,7 @@ export default {
|
||||
pageTitle ||
|
||||
pageNow?.i18nText?.[mylang]?.tPageTitle || // 页面.vue 的 i18nText 对象
|
||||
pageNow?.i18nPageTitle?.[mylang] || // 页面.vue 的 i18nPageTitle 变量
|
||||
pageNow?.pageTitle ||
|
||||
pagesJson?.pages?.find((page) => page.path === pageNow?.route)?.i18nPageTitle?.[mylang] || // pages.json 的页面配置里
|
||||
''
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user