Browse Source

:art: Clear history

Liang Ding 3 năm trước cách đây
mục cha
commit
ea4f722edb
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)
 }