debug
This commit is contained in:
@@ -316,10 +316,14 @@ async function reportStats(data) {
|
||||
}
|
||||
}
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
// 使用示例
|
||||
const statsData = {
|
||||
n_id: strNovelId,
|
||||
};
|
||||
// 调用方法1
|
||||
reportStats(statsData);
|
||||
|
||||
if(typeof strNovelId !== "undefined") {
|
||||
|
||||
// 使用示例
|
||||
const statsData = {
|
||||
n_id: strNovelId,
|
||||
};
|
||||
// 调用方法1
|
||||
reportStats(statsData);
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user