@@ -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: "退出",
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user