mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-28 06:33:01 +08:00
界面优化
This commit is contained in:
@@ -75,6 +75,19 @@ func (this *ServerHelper) createLeftMenu(action *actions.ActionObject) {
|
||||
return
|
||||
}
|
||||
|
||||
// 协议簇
|
||||
family := ""
|
||||
if serverConfig.IsHTTP() {
|
||||
family = "http"
|
||||
} else if serverConfig.IsTCP() {
|
||||
family = "tcp"
|
||||
} else if serverConfig.IsUnix() {
|
||||
family = "unix"
|
||||
} else if serverConfig.IsUDP() {
|
||||
family = "udp"
|
||||
}
|
||||
action.Data["serverFamily"] = family
|
||||
|
||||
// TABBAR
|
||||
selectedTabbar, _ := action.Data["mainTab"]
|
||||
tabbar := actionutils.NewTabbar()
|
||||
|
||||
Reference in New Issue
Block a user