mv folder

This commit is contained in:
2025-03-26 16:39:04 +08:00
parent 63a578ef38
commit e916eab92c
13 changed files with 150 additions and 88 deletions

View File

@@ -1,6 +1,8 @@
"use client";
import { DeviceAnalytics as DeviceAnalyticsType } from '../../api/types';
import { useEffect, useRef } from 'react';
import { DeviceAnalytics as DeviceAnalyticsType } from '@/app/api/types';
import { Chart, PieController, ArcElement, Tooltip, Legend } from 'chart.js';
interface DeviceAnalyticsProps {
data: DeviceAnalyticsType;

View File

@@ -1,6 +1,8 @@
"use client";
import { GeoData } from '../../api/types';
import { useEffect, useRef } from 'react';
import { GeoData } from '@/app/api/types';
import { Chart, PieController, ArcElement, Tooltip, Legend } from 'chart.js';
interface GeoAnalyticsProps {
data: GeoData[];

View File

@@ -16,7 +16,7 @@ import {
ChartOptions,
TooltipItem
} from 'chart.js';
import { TimeSeriesData } from '../../api/types';
import { TimeSeriesData } from '@/app/api/types';
// 注册 Chart.js 组件
ChartJS.register(