소스 검색

: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)
 }