diff --git a/src/main/resources/views/layouts/v4/baseLayout.html b/src/main/resources/views/layouts/v4/baseLayout.html index 63e55724..be4f93a3 100644 --- a/src/main/resources/views/layouts/v4/baseLayout.html +++ b/src/main/resources/views/layouts/v4/baseLayout.html @@ -750,7 +750,7 @@ $(document).ready(function () { // 控制页脚显示的函数 function toggleFooter() { - var currentPath = getBaseSubAppPath() + var currentPath = window.location.pathname var footer = $("#v4-footer") if (currentPath === "/platform/v4/home") { @@ -762,7 +762,7 @@ // 初始化:根据当前URL设置active状态 function setActiveNavItem() { - var currentPath = getBaseSubAppPath() + var currentPath = window.location.pathname $(".v4-nav-item").removeClass("active") $(".v4-nav-item").each(function () { if ($(this).attr("href") === currentPath) { diff --git a/src/main/resources/views/platform/zhgh/democratic/proposal/senior/expediting/index.html b/src/main/resources/views/platform/zhgh/democratic/proposal/senior/expediting/index.html index 8850617c..463dd5eb 100644 --- a/src/main/resources/views/platform/zhgh/democratic/proposal/senior/expediting/index.html +++ b/src/main/resources/views/platform/zhgh/democratic/proposal/senior/expediting/index.html @@ -212,14 +212,12 @@ layout("/layouts/platform.html"){ if (this.sessionOptions) { this.$set(this.pageForm, "sessionId", this.sessionOptions[0].id) this.pageData() - this.listDelegation() } } }) } }, created() { - this.pageData() this.listOpenSession() } })