修改弹幕为异步请求

This commit is contained in:
小赵同学 committed 2024-07-12 16:35:29 +08:00
1 parent 97a889be6c
commit d1584c1332
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@
var currentPath = "\/post\/my-first-post\/";
$.ajaxSettings.async = false;
$.ajaxSettings.async = true;
$.getJSON('https://waline.usj.cc/api/comment?path=' + encodeURIComponent(currentPath), function(response) {
var data = response.data.data;
console.log(data);