This commit is contained in:
Archer 2025-08-15 18:33:02 +08:00 committed by GitHub
parent d21d1e23fa
commit 2c91137444
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View File

@ -155,6 +155,7 @@ const Header = () => {
size={'xs'}
w={'1rem'}
variant={'ghost'}
onClick={isSaved ? onBack : onOpenBackConfirm}
/>
</Box>
@ -214,9 +215,11 @@ const Header = () => {
isPc,
currentTab,
isSaved,
onBack,
onOpenBackConfirm,
isV2Workflow,
t,
showHistoryModal,
t,
loading,
onClickSave,
setShowHistoryModal,

View File

@ -155,6 +155,7 @@ const Header = () => {
size={'xs'}
w={'1rem'}
variant={'ghost'}
onClick={isSaved ? onBack : onOpenBackConfirm}
/>
</Box>
@ -214,9 +215,11 @@ const Header = () => {
isPc,
currentTab,
isSaved,
onBack,
onOpenBackConfirm,
isV2Workflow,
t,
showHistoryModal,
t,
loading,
onClickSave,
setShowHistoryModal,