多处增加是否独立配置选项

This commit is contained in:
GoEdgeLab
2020-09-23 18:43:38 +08:00
parent 41bddd79c9
commit 72865127b7
50 changed files with 615 additions and 267 deletions

View File

@@ -55,6 +55,12 @@ func (this *LocationHelper) createMenus(serverIdString string, locationIdString
},
}
menuItems = append(menuItems, maps.Map{
"name": "HTTP",
"url": "/servers/server/settings/locations/http?serverId=" + serverIdString + "&locationId=" + locationIdString,
"isActive": secondMenuItem == "http",
})
menuItems = append(menuItems, maps.Map{
"name": "Web设置",
"url": "/servers/server/settings/locations/web?serverId=" + serverIdString + "&locationId=" + locationIdString,