浏览代码

:art: Clear history

Liang Ding 3 年之前
父节点
当前提交
ea4f722edb
共有 1 个文件被更改,包括 1 次插入0 次删除
  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)
 }