fix: bug#21284

* fix: bug#21284
This commit is contained in:
qiaochuLei 2024-01-15 18:49:37 +08:00 committed by GitHub
parent 31bc95191c
commit 90c7365e6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -135,7 +135,6 @@ const queryChartsList = async () => {
loading.value = false; loading.value = false;
} }
) )
if (resp.status === 200) { if (resp.status === 200) {
const dataList: any[] = [ const dataList: any[] = [
{ {
@ -144,7 +143,7 @@ const queryChartsList = async () => {
type: prop.data?.name || '', type: prop.data?.name || '',
}, },
]; ];
(resp.result as any)?.data?.forEach((i: any) => { (resp.result as any)?.forEach((i: any) => {
dataList.push({ dataList.push({
...i, ...i,
year: i.timestamp, year: i.timestamp,