This commit is contained in:
那些花儿
2025-09-29 14:07:19 +08:00
parent 17a31212d2
commit 0bded12010
48 changed files with 1842 additions and 255 deletions
@@ -337,8 +337,13 @@ layout("/layouts/v4/baseLayout.html"){
window.sessionStorage.setItem("zhgh_sub_app", JSON.stringify(app))
// 储存到div中
document.getElementById("sub-app-id").innerText = app.id
try {
const app = JSON.parse(window.sessionStorage.getItem("zhgh_sub_app"))
$("#sub-app-container #sidebar-menu .menu-header .menu-title").text(app?.name)
} catch (e) {
}
}
// document.querySelector("#sub-app-container .content-title").innerText = app.name
},
// 菜单回显
@@ -350,7 +355,8 @@ layout("/layouts/v4/baseLayout.html"){
console.log(this.openedMenus)
console.log(this.activeMenuIndex)
if (!this.activeMenuIndex && '/platform/v4/subApp' === window.location.pathname) {
// !this.activeMenuIndex &&
if ('/platform/v4/subApp' === window.location.pathname) {
this.defaultSelect()
} else {
this.hrefSelect()