Skip to content

Commit a400cd8

Browse files
author
shuai
committed
fix: seo setting update store data
1 parent 8f471d9 commit a400cd8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ui/src/pages/Admin/Seo/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { getSeoSetting, putSeoSetting } from '@/services';
66
import { SchemaForm, JSONSchema, initFormData, UISchema } from '@/components';
77
import { useToast } from '@/hooks';
88
import { handleFormError } from '@/utils';
9+
import { seoSettingStore } from '@/stores';
910

1011
const Index: FC = () => {
1112
const { t } = useTranslation('translation', {
@@ -64,6 +65,7 @@ const Index: FC = () => {
6465
msg: t('update', { keyPrefix: 'toast' }),
6566
variant: 'success',
6667
});
68+
seoSettingStore.getState().update(reqParams);
6769
})
6870
.catch((err) => {
6971
if (err.isError) {

0 commit comments

Comments
 (0)