mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-21 11:30:06 +00:00
fix: question guide prompt save & sub route image (#5672)
* fix: question guide prompt save & sub route image * fix markdown
This commit is contained in:
@@ -126,6 +126,7 @@ const CustomPromptEditor = ({
|
||||
border="none"
|
||||
p={0}
|
||||
mb={2}
|
||||
rounded={'none'}
|
||||
_focus={{
|
||||
border: 'none',
|
||||
boxShadow: 'none'
|
||||
@@ -142,7 +143,7 @@ const CustomPromptEditor = ({
|
||||
<Button
|
||||
fontWeight={'medium'}
|
||||
onClick={() => {
|
||||
onChange(value.replace(defaultValue, ''));
|
||||
onChange(value.replace(defaultPrompt, ''));
|
||||
onClose();
|
||||
}}
|
||||
w={20}
|
||||
|
Reference in New Issue
Block a user