From 129f404ccd7b4af34c55586b4db455e4dd52739d Mon Sep 17 00:00:00 2001 From: yaojn Date: Tue, 21 Nov 2023 17:57:43 +0800 Subject: [PATCH] =?UTF-8?q?-=20[=E7=BC=BA=E9=99=B7]=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E9=9B=86=E6=88=90=E4=B8=8E=E5=8F=91=E5=B8=83-=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E4=BD=9C=E4=B8=9A=E9=A1=B5=E9=9D=A2=EF=BC=8C=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=AE=8C=E5=AE=9A=E6=97=B6=E4=BD=9C=E4=B8=9A=E5=90=8E?= =?UTF-8?q?=EF=BC=8C=E9=A1=B5=E9=9D=A2=E7=A9=BA=E7=99=BD=20=20=20-=20[?= =?UTF-8?q?=E5=85=B3=E8=81=94]#[1028936174108672]=E9=9B=86=E6=88=90?= =?UTF-8?q?=E4=B8=8E=E5=8F=91=E5=B8=83-=E5=AE=9A=E6=97=B6=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A=E9=A1=B5=E9=9D=A2=EF=BC=8C=E6=B7=BB=E5=8A=A0=E5=AE=8C?= =?UTF-8?q?=E5=AE=9A=E6=97=B6=E4=BD=9C=E4=B8=9A=E5=90=8E=EF=BC=8C=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E7=A9=BA=E7=99=BD=20http://192.168.0.96:8090/demo/rdm?= =?UTF-8?q?.html#/bug-detail/939050947543040/939050947543057/1028936174108?= =?UTF-8?q?672?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/resources/assets/js/historyUtil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/assets/js/historyUtil.js b/src/resources/assets/js/historyUtil.js index fdfb0ae60..ba4b95585 100644 --- a/src/resources/assets/js/historyUtil.js +++ b/src/resources/assets/js/historyUtil.js @@ -66,7 +66,7 @@ HistoryUtil.install = function (Vue, options) { let name = defaultName; let hasBack = false; const fromPageList = this.$route.meta.fromPageList; - let index = fromPageList.length - 1; + let index = fromPageList?.length - 1; if (fromPageList && fromPageList.length > 0) { while (index >= 0) { if (this.$route.path != fromPageList[index].path) { -- Gitee