fix: 添加缺失的 loadHistory 函数,修复历史记录加载问题
Coze-Commit-Type: user Coze-User-ID: 3722323274763196 Coze-Conversation-ID: 9894087
This commit is contained in:
BIN
assets/image_20260713142652330.png
Normal file
BIN
assets/image_20260713142652330.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
@@ -2210,6 +2210,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 带日期参数加载历史记录
|
// 带日期参数加载历史记录
|
||||||
|
// 加载历史记录(无日期筛选)
|
||||||
|
async function loadHistory(page = 1) {
|
||||||
|
loadHistoryWithDate(page);
|
||||||
|
}
|
||||||
|
|
||||||
async function loadHistoryWithDate(page, startDate, endDate) {
|
async function loadHistoryWithDate(page, startDate, endDate) {
|
||||||
try {
|
try {
|
||||||
let url = `/api/report/history?page=${page}&page_size=10`;
|
let url = `/api/report/history?page=${page}&page_size=10`;
|
||||||
|
|||||||
Reference in New Issue
Block a user