mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
fix: quick question and variable
This commit is contained in:
@@ -565,6 +565,9 @@ const ChatBox = (
|
|||||||
label: item.value,
|
label: item.value,
|
||||||
value: item.value
|
value: item.value
|
||||||
}))}
|
}))}
|
||||||
|
{...register(item.key, {
|
||||||
|
required: item.required
|
||||||
|
})}
|
||||||
value={getValues(item.key)}
|
value={getValues(item.key)}
|
||||||
onchange={(e) => {
|
onchange={(e) => {
|
||||||
setValue(item.key, e);
|
setValue(item.key, e);
|
||||||
|
@@ -334,6 +334,9 @@
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border: medium none;
|
border: medium none;
|
||||||
}
|
}
|
||||||
|
.markdown hr {
|
||||||
|
margin: 10px 0;
|
||||||
|
}
|
||||||
.markdown {
|
.markdown {
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
tab-size: 4;
|
tab-size: 4;
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
import React, { useCallback, useMemo } from 'react';
|
import React, { useMemo } from 'react';
|
||||||
import ReactMarkdown from 'react-markdown';
|
import ReactMarkdown from 'react-markdown';
|
||||||
import RemarkGfm from 'remark-gfm';
|
import RemarkGfm from 'remark-gfm';
|
||||||
import RemarkMath from 'remark-math';
|
import RemarkMath from 'remark-math';
|
||||||
|
Reference in New Issue
Block a user