diff --git a/src/app/(main)/tool/page.tsx b/src/app/(main)/tool/page.tsx index 894a47e..33b8ba1 100644 --- a/src/app/(main)/tool/page.tsx +++ b/src/app/(main)/tool/page.tsx @@ -1,4 +1,11 @@ "use client" + +import VideoSetting from "@/components/cstb/VideoSetting" + export default function Page() { - return
Tool
+ return ( +
+ +
+ ) } diff --git a/src/components/cstb/LaunchOption.tsx b/src/components/cstb/LaunchOption.tsx index 015e034..a419e51 100644 --- a/src/components/cstb/LaunchOption.tsx +++ b/src/components/cstb/LaunchOption.tsx @@ -3,6 +3,7 @@ import { Plus, SettingConfig, Switch } from "@icon-park/react" import { useEffect, useState } from "react" import { Card, CardBody, CardHeader, CardIcon, CardTool } from "../window/Card" import { ToolButton } from "../window/ToolButton" +import { input, Textarea } from "@heroui/react" const LaunchOption = () => { const tool = useToolStore() @@ -24,7 +25,7 @@ const LaunchOption = () => { {index + 1} ))} - tool.addLaunchOption("")}> + tool.addLaunchOption({ option: "", name: "" })}> 添加 @@ -37,13 +38,16 @@ const LaunchOption = () => {