对运行日志和IP名单进行操作时,及时更新左侧菜单Badge

This commit is contained in:
刘祥超
2022-08-18 09:28:09 +08:00
parent 4e19817d6f
commit 01209b66ac
9 changed files with 48 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ package logs
import (
"github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils"
"github.com/TeaOSLab/EdgeAdmin/internal/web/helpers"
"github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb"
)
@@ -22,5 +23,8 @@ func (this *ReadLogsAction) RunPost(params struct {
return
}
// 通知左侧数字Badge更新
helpers.NotifyNodeLogsCountChange()
this.Success()
}