fix: avoid tag popup blocking after content input

This commit is contained in:
prehisle
2026-02-18 23:15:26 +08:00
parent abe2afa958
commit 36ca181c8b
2 changed files with 17 additions and 0 deletions

View File

@@ -149,6 +149,9 @@ func submitPublishVideo(page *rod.Page, title, content string, tags []string, sc
if err := contentElem.Input(content); err != nil {
return errors.Wrap(err, "输入正文失败")
}
if err := waitAndClickTitleInput(titleElem); err != nil {
return err
}
if err := inputTags(contentElem, tags); err != nil {
return err
}