diff --git a/cmd/v2/ui/views/bingoview.go b/cmd/v2/ui/views/bingoview.go index 8898f208a..5fd42aac6 100644 --- a/cmd/v2/ui/views/bingoview.go +++ b/cmd/v2/ui/views/bingoview.go @@ -46,7 +46,7 @@ func (this *BingoView) CreateView(t *model.TestCase) fyne.CanvasObject { aSel = &widget.Select{} gridContainer = container.NewGridWithColumns(3, aSel, tEntry, nEntry) - aSel.Options = []string{"选择", "attr", "item", "hero", "equi", "mapid", "pataid", "alltask", "worldtask", "sociatyexp", "sociatyactivity", "allgrowtask", "userlv"} + aSel.Options = []string{"选择", "attr", "item", "hero", "equi", "mapid", "pataid", "alltask", "worldtask", "sociatyexp", "sociatyactivity", "allgrowtask", "lv"} aSel.SetSelected("选择") aSel.OnChanged = func(s string) { if s == "attr" { diff --git a/modules/user/module.go b/modules/user/module.go index 6dfbbab6c..745977669 100644 --- a/modules/user/module.go +++ b/modules/user/module.go @@ -78,15 +78,15 @@ func (this *User) Start() (err error) { if this.globalConf == nil { err = errors.New("global config not found") } - go func() { - timeSec := time.NewTicker(time.Second * 30) - for { - select { - case <-timeSec.C: - this.RecoverUserVit() - } - } - }() + // go func() { + // timeSec := time.NewTicker(time.Second * 30) + // for { + // select { + // case <-timeSec.C: + // this.RecoverUserVit() + // } + // } + // }() return }