Browse Source

:art: Clear history

Liang Ding 3 years ago
parent
commit
ea4f722edb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      kernel/api/history.go

+ 1 - 0
kernel/api/history.go

@@ -71,6 +71,7 @@ func clearWorkspaceHistory(c *gin.Context) {
 		return
 	}
 	util.PushClearMsg(msgId)
+	time.Sleep(500 * time.Millisecond)
 	util.PushMsg(model.Conf.Language(99), 1000*5)
 }