This commit is contained in:
sijinhui
2024-09-19 22:31:21 +08:00
parent c6c78b7798
commit 8fedb17183
20 changed files with 26 additions and 66 deletions

View File

@@ -1,5 +1,5 @@
import styles from "./gpt-prompts.module.scss";
import { Flex, Radio, Card } from "antd";
import { Flex, Card } from "antd";
export default function GptPrompts() {
return (

View File

@@ -15,7 +15,7 @@ import dynamic from "next/dynamic";
import { Path, SlotID } from "../constant";
import { ErrorBoundary } from "./error";
import { getISOLang, getLang } from "../locales";
import { getISOLang } from "../locales";
import {
HashRouter as Router,

View File

@@ -6,7 +6,6 @@ import styles from "./new-chat.module.scss";
import LeftIcon from "../icons/left.svg";
import LightningIcon from "../icons/lightning.svg";
import EyeIcon from "../icons/eye.svg";
import { useLocation, useNavigate } from "react-router-dom";
import { Mask, useMaskStore } from "../store/mask";

View File

@@ -1,6 +1,6 @@
import Image from "next/image";
import React from "react";
import { useLocation, useNavigate } from "react-router-dom";
import { useNavigate } from "react-router-dom";
import styles from "@/app/components/mask.module.scss";
import Locale from "@/app/locales";
import { IconButton } from "@/app/components/button";

View File

@@ -36,7 +36,7 @@ import { removeImage } from "@/app/utils/chat";
import { SideBar } from "./sd-sidebar";
import { WindowContent } from "@/app/components/home";
import { params } from "./sd-panel";
import Image from "next/image";
function getSdTaskStatus(item: any) {
let s: string;
let color: Property.Color | undefined = undefined;

View File

@@ -25,20 +25,12 @@ import React, {
useRef,
} from "react";
import { IconButton } from "./button";
import {
Card as AntCard,
List as AntList,
Row,
Col,
Grid,
Avatar,
Button,
} from "antd";
import { List as AntList, Row, Col } from "antd";
import { OpenAIOutlined, GoogleOutlined } from "@ant-design/icons";
// 自定义图标
import Icon from "@ant-design/icons";
const { Meta } = AntCard;
// const { Meta } = AntCard;
import { CheckCard } from "@ant-design/pro-components";
import { CheckGroupValueType } from "@ant-design/pro-card/es/components/CheckCard/Group";

View File

@@ -1,4 +1,4 @@
import { Button, Input, Space } from "antd";
import { Button, Space } from "antd";
import {
Dispatch,
SetStateAction,