mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-08-21 10:27:15 +00:00
feat: delete sleep 1 s
This commit is contained in:
@@ -529,7 +529,6 @@ export default {
|
|||||||
|
|
||||||
const fetchComments = async () => {
|
const fetchComments = async () => {
|
||||||
isFetchingComments.value = true
|
isFetchingComments.value = true
|
||||||
await new Promise(resolve => setTimeout(resolve, 1000))
|
|
||||||
try {
|
try {
|
||||||
const token = getToken()
|
const token = getToken()
|
||||||
const res = await fetch(`${API_BASE_URL}/api/posts/${postId}/comments?sort=${commentSort.value}`, {
|
const res = await fetch(`${API_BASE_URL}/api/posts/${postId}/comments?sort=${commentSort.value}`, {
|
||||||
|
|||||||
Reference in New Issue
Block a user