u
This commit is contained in:
parent
92ef370fb2
commit
43117649f5
@ -86,7 +86,7 @@ export default {
|
||||
pagesJson?.pages?.find((page) => page.path === pageNow?.route)?.i18nPageTitle?.[mylang] || // pages.json 的页面配置里
|
||||
''
|
||||
|
||||
if (uni.getSystemInfoSync().model === 'PC') {
|
||||
if (uni.getSystemInfoSync().deviceType === 'pc') {
|
||||
windowTitle =
|
||||
windowTitle || wo?.envar?.callname?.[mylang] || pagesJson?.appInfo?.i18nText?.[mylang] || pagesJson?.globalStyle?.navigationBarTitleText || ''
|
||||
uni.setNavigationBarTitle({ title: windowTitle + (navibarTitle ? ` - ${navibarTitle}` : '') })
|
||||
|
Loading…
Reference in New Issue
Block a user