|
@@ -8,10 +8,8 @@ import {
|
|
|
ChannelIcon,
|
|
ChannelIcon,
|
|
|
DictIcon,
|
|
DictIcon,
|
|
|
GrammarIcon,
|
|
GrammarIcon,
|
|
|
- RobotIcon,
|
|
|
|
|
SuggestionIcon,
|
|
SuggestionIcon,
|
|
|
} from "../../assets/icon";
|
|
} from "../../assets/icon";
|
|
|
-import ChatPanel from "./panels/ChatPanel";
|
|
|
|
|
import SuggestionPanel from "./panels/SuggestionPanel";
|
|
import SuggestionPanel from "./panels/SuggestionPanel";
|
|
|
import GrammarBookPanel from "./panels/GrammarBookPanel";
|
|
import GrammarBookPanel from "./panels/GrammarBookPanel";
|
|
|
import DiscussionBox from "../discussion/DiscussionBox";
|
|
import DiscussionBox from "../discussion/DiscussionBox";
|
|
@@ -166,12 +164,6 @@ export default function Editor({
|
|
|
<GrammarBookPanel articleId={articleId} anthologyId={anthologyId} />
|
|
<GrammarBookPanel articleId={articleId} anthologyId={anthologyId} />
|
|
|
),
|
|
),
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- key: "ai",
|
|
|
|
|
- icon: <RobotIcon />,
|
|
|
|
|
- label: "人工智能",
|
|
|
|
|
- content: <ChatPanel articleId={articleId} anthologyId={anthologyId} />,
|
|
|
|
|
- },
|
|
|
|
|
];
|
|
];
|
|
|
|
|
|
|
|
return (
|
|
return (
|