forked from github/dataease
feat: 获取标题非空判断
This commit is contained in:
parent
469aa684fc
commit
f62f3e635c
@ -5,7 +5,7 @@ let title = defaultSettings.title || 'Vue Admin Template'
|
||||
|
||||
export default function getPageTitle(pageTitle) {
|
||||
const uiInfo = getSysUI()
|
||||
if (uiInfo['ui.title'] && uiInfo['ui.title'].paramValue) {
|
||||
if (uiInfo && uiInfo['ui.title'] && uiInfo['ui.title'].paramValue) {
|
||||
title = uiInfo['ui.title'].paramValue
|
||||
}
|
||||
if (pageTitle) {
|
||||
|
Loading…
Reference in New Issue
Block a user