mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-02 08:06:38 +08:00
修复错误
This commit is contained in:
parent
9066c4eb55
commit
578f0b883c
@ -366,6 +366,7 @@ function ChatAction(props: {
|
|||||||
if (props.text.includes("使用") || allModels.includes(props.text)) {
|
if (props.text.includes("使用") || allModels.includes(props.text)) {
|
||||||
customModelClassName = "chat-input-action-long-weight";
|
customModelClassName = "chat-input-action-long-weight";
|
||||||
}
|
}
|
||||||
|
console.log("123123123", props.text);
|
||||||
|
|
||||||
function updateWidth() {
|
function updateWidth() {
|
||||||
if (!iconRef.current || !textRef.current) return;
|
if (!iconRef.current || !textRef.current) return;
|
||||||
@ -609,7 +610,7 @@ export function ChatActions(props: {
|
|||||||
|
|
||||||
<ChatAction
|
<ChatAction
|
||||||
onClick={() => setShowModelSelector(true)}
|
onClick={() => setShowModelSelector(true)}
|
||||||
text={currentModelName}
|
text={currentModel}
|
||||||
icon={<RobotIcon />}
|
icon={<RobotIcon />}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user