From fe1a6d30aafcefeb29634632cddc3cc2c493cf62 Mon Sep 17 00:00:00 2001 From: shy Date: Thu, 27 Feb 2025 17:56:24 +0800 Subject: [PATCH] opt some --- base/web/dream.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/base/web/dream.go b/base/web/dream.go index 155b5714..46bda94d 100644 --- a/base/web/dream.go +++ b/base/web/dream.go @@ -496,9 +496,10 @@ func init() { } else { m.Action(mdb.CREATE, STARTALL, STOPALL) } - m.StatusTimeCountStats(mdb.TYPE, mdb.STATUS) + ctx.DisplayTableCard(m) + m.Options(ice.MSG_TOOLKIT, "web.code.compose.insight") m.Sort("type,status,name", []string{aaa.LOGIN, WORKER, SERVER, ORIGIN}, []string{cli.START, cli.STOP, cli.BEGIN}, ice.STR_R) - ctx.DisplayTableCard(m.Options(ice.MSG_TOOLKIT, "web.code.compose.insight")) + m.StatusTimeCountStats(mdb.TYPE, mdb.STATUS) } else if arg[0] == ctx.ACTION { gdb.Event(m, DREAM_ACTION, arg) }