From 708ed30f74f5a21253e847611079f9f610b3a313 Mon Sep 17 00:00:00 2001 From: shy Date: Mon, 8 Apr 2024 00:04:10 +0800 Subject: [PATCH] add some --- base/web/space.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/base/web/space.go b/base/web/space.go index 42177965..1ee3d738 100644 --- a/base/web/space.go +++ b/base/web/space.go @@ -291,7 +291,10 @@ func init() { "s": {Help: "空间", Actions: ApiWhiteAction(), Hand: func(m *ice.Message, arg ...string) { m.Cmdy(CHAT_POD, arg) }}, "c": {Help: "命令", Actions: ApiWhiteAction(), Hand: func(m *ice.Message, arg ...string) { m.Cmdy(CHAT_CMD, arg) }}, SPACE: {Name: "space name cmds auto", Help: "空间站", Actions: ice.MergeActions(ice.Actions{ - ice.CTX_INIT: {Hand: func(m *ice.Message, arg ...string) { aaa.White(m, SPACE, ice.MAIN) }}, + ice.CTX_INIT: {Hand: func(m *ice.Message, arg ...string) { + cli.NodeInfo(m, ice.Info.Pathname, WORKER) + aaa.White(m, SPACE, ice.MAIN) + }}, mdb.ICONS: {Hand: func(m *ice.Message, arg ...string) { cli.NodeInfo(m, ice.Info.Pathname, WORKER, arg[0]) mdb.Config(m, mdb.ICONS, arg[0])