This commit is contained in:
Archer
2025-08-15 18:33:02 +08:00
committed by GitHub
parent d21d1e23fa
commit 2c91137444
2 changed files with 8 additions and 2 deletions

View File

@@ -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,

View File

@@ -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,