新增AI分析
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2025-09-24 01:02:34 +08:00
parent b3091db7b2
commit e71611ff1c
19 changed files with 636 additions and 45 deletions

View File

@@ -123,11 +123,19 @@ const options: Array<DropdownOption | DropdownDividerOption> = [
{
label: "我的设置",
key: "setting",
icon: renderIcon("streamline-emojis:robot-face-1"),
icon: renderIcon("streamline-emojis:ferris-wheel"),
props: {
onClick: () => router.push("/setting"),
},
},
{
label: "智能分析",
key: "ai-analysis",
icon: renderIcon("streamline-emojis:floppy-disk"),
props: {
onClick: () => router.push("/ai-analysis"),
},
},
{ type: "divider" },
{
label: "退出",

View File

@@ -8,6 +8,8 @@ import {
LinearScale,
Title,
Tooltip,
LineElement,
PointElement,
} from "chart.js"
const [isLoaded] = useToggle()
@@ -19,6 +21,8 @@ export function loadChart() {
LinearScale,
BarElement,
ArcElement,
LineElement,
PointElement,
Colors,
Title,
Tooltip,