diff --git a/app/console/commands/panel.go b/app/console/commands/panel.go index 3dd46ffe..8c76749c 100644 --- a/app/console/commands/panel.go +++ b/app/console/commands/panel.go @@ -327,7 +327,7 @@ func (receiver *Panel) Handle(ctx console.Context) error { color.Greenln(hr) return nil } - if strings.Contains(check, name) { + if !strings.Contains(check, name) { color.Redln("|-数据库不存在") color.Greenln(hr) return nil