mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-16 16:04:34 +00:00
fix: fe (#5471)
This commit is contained in:
@@ -155,6 +155,7 @@ const Header = () => {
|
|||||||
size={'xs'}
|
size={'xs'}
|
||||||
w={'1rem'}
|
w={'1rem'}
|
||||||
variant={'ghost'}
|
variant={'ghost'}
|
||||||
|
onClick={isSaved ? onBack : onOpenBackConfirm}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
@@ -214,9 +215,11 @@ const Header = () => {
|
|||||||
isPc,
|
isPc,
|
||||||
currentTab,
|
currentTab,
|
||||||
isSaved,
|
isSaved,
|
||||||
|
onBack,
|
||||||
|
onOpenBackConfirm,
|
||||||
isV2Workflow,
|
isV2Workflow,
|
||||||
t,
|
|
||||||
showHistoryModal,
|
showHistoryModal,
|
||||||
|
t,
|
||||||
loading,
|
loading,
|
||||||
onClickSave,
|
onClickSave,
|
||||||
setShowHistoryModal,
|
setShowHistoryModal,
|
||||||
|
@@ -155,6 +155,7 @@ const Header = () => {
|
|||||||
size={'xs'}
|
size={'xs'}
|
||||||
w={'1rem'}
|
w={'1rem'}
|
||||||
variant={'ghost'}
|
variant={'ghost'}
|
||||||
|
onClick={isSaved ? onBack : onOpenBackConfirm}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
@@ -214,9 +215,11 @@ const Header = () => {
|
|||||||
isPc,
|
isPc,
|
||||||
currentTab,
|
currentTab,
|
||||||
isSaved,
|
isSaved,
|
||||||
|
onBack,
|
||||||
|
onOpenBackConfirm,
|
||||||
isV2Workflow,
|
isV2Workflow,
|
||||||
t,
|
|
||||||
showHistoryModal,
|
showHistoryModal,
|
||||||
|
t,
|
||||||
loading,
|
loading,
|
||||||
onClickSave,
|
onClickSave,
|
||||||
setShowHistoryModal,
|
setShowHistoryModal,
|
||||||
|
Reference in New Issue
Block a user