Skip to content

Commit

Permalink
fix: 修复元素序号在页面刷新时回退的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
syb01094648 committed Nov 24, 2023
1 parent b1d988a commit 5b59bdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/app-header/btn/setting-btn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const SettingBtn = () => {
autoFitBounds,
setAutoFitBounds,
showIndex,
setShowIndex
} = useGlobal();
const { t } = useTranslation();
const [form] = Form.useForm();
Expand Down Expand Up @@ -61,6 +62,7 @@ export const SettingBtn = () => {
setIsModalOpen(false);
setPopupTrigger(e.popupTrigger);
setAutoFitBounds(e.autoFitBounds);
setShowIndex(e.showIndex)
}}
>
<Form.Item
Expand Down

0 comments on commit 5b59bdc

Please sign in to comment.