提案管理-高级管理-提案催办:修复引用不存在函数导致的页面加载异常;

This commit is contained in:
dd3s_206
2026-09-15 10:22:09 +08:00
parent 77da090407
commit 4bcf737345
2 changed files with 2 additions and 4 deletions
@@ -750,7 +750,7 @@
$(document).ready(function () { $(document).ready(function () {
// 控制页脚显示的函数 // 控制页脚显示的函数
function toggleFooter() { function toggleFooter() {
var currentPath = getBaseSubAppPath() var currentPath = window.location.pathname
var footer = $("#v4-footer") var footer = $("#v4-footer")
if (currentPath === "/platform/v4/home") { if (currentPath === "/platform/v4/home") {
@@ -762,7 +762,7 @@
// 初始化:根据当前URL设置active状态 // 初始化:根据当前URL设置active状态
function setActiveNavItem() { function setActiveNavItem() {
var currentPath = getBaseSubAppPath() var currentPath = window.location.pathname
$(".v4-nav-item").removeClass("active") $(".v4-nav-item").removeClass("active")
$(".v4-nav-item").each(function () { $(".v4-nav-item").each(function () {
if ($(this).attr("href") === currentPath) { if ($(this).attr("href") === currentPath) {
@@ -212,14 +212,12 @@ layout("/layouts/platform.html"){
if (this.sessionOptions) { if (this.sessionOptions) {
this.$set(this.pageForm, "sessionId", this.sessionOptions[0].id) this.$set(this.pageForm, "sessionId", this.sessionOptions[0].id)
this.pageData() this.pageData()
this.listDelegation()
} }
} }
}) })
} }
}, },
created() { created() {
this.pageData()
this.listOpenSession() this.listOpenSession()
} }
}) })