From f62f3e635cb11eb8c4b8ce22c79a3038da378c5d Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 12 May 2021 16:58:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=8E=B7=E5=8F=96=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E9=9D=9E=E7=A9=BA=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/utils/get-page-title.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/utils/get-page-title.js b/frontend/src/utils/get-page-title.js index 0cce2601b1..7a6576e6ea 100644 --- a/frontend/src/utils/get-page-title.js +++ b/frontend/src/utils/get-page-title.js @@ -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) {