IO-2280 fixed query params in shop config

This commit is contained in:
swtmply
2023-06-06 22:20:22 +08:00
parent 0669282432
commit 5a3ddfad0f
3 changed files with 10 additions and 2 deletions

View File

@@ -52,7 +52,9 @@ export function ShopInfoComponent({ bodyshop, form, saveLoading }) {
<Tabs
defaultActiveKey={search.subtab}
onChange={(key) =>
history.push({ search: `?tab=${search.tab}&subtab=${key}` })
history.push({
search: `?tab=${search.tab}&subtab=${key}`,
})
}
>
<Tabs.TabPane key="general" tab={t("bodyshop.labels.shopinfo")}>