曲线图,增加弹窗显示30天的数据

This commit is contained in:
jianzhichu
2026-01-22 23:24:51 +08:00
parent e011bd089f
commit 8390511675
7 changed files with 199 additions and 58 deletions
+2 -2
View File
@@ -104,8 +104,8 @@ export const useApiStore = defineStore('coreapi', () => {
});
}
//视频曲线
async function VideoChart() {
return http.request<any, Response<any>>('/api/video/chart', 'get').then(r => {
async function VideoChart(day: number) {
return http.request<any, Response<any>>(`/api/video/chart/${day}`, 'get').then(r => {
return r;
}).finally(() => {