Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
94c53804
authored
Sep 04, 2023
by
archer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: quick question and variable
parent
a1bcd798
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletions
+7
-1
client/src/components/ChatBox/index.tsx
+3
-0
client/src/components/Markdown/index.module.scss
+3
-0
client/src/components/Markdown/index.tsx
+1
-1
No files found.
client/src/components/ChatBox/index.tsx
View file @
94c53804
...
@@ -565,6 +565,9 @@ const ChatBox = (
...
@@ -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
);
...
...
client/src/components/Markdown/index.module.scss
View file @
94c53804
...
@@ -334,6 +334,9 @@
...
@@ -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
;
...
...
client/src/components/Markdown/index.tsx
View file @
94c53804
import
React
,
{
use
Callback
,
use
Memo
}
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'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment