mirror of
https://github.com/PlayEdu/h5.git
synced 2025-12-25 16:00:26 +08:00
头像上传优化
This commit is contained in:
@@ -61,7 +61,10 @@ export const TabBarFooter: React.FC = () => {
|
||||
|
||||
return (
|
||||
<div className={styles["footer"]}>
|
||||
<TabBar activeKey={pathname} onChange={(value) => navigate(value)}>
|
||||
<TabBar
|
||||
activeKey={pathname}
|
||||
onChange={(value) => navigate(value, { replace: true })}
|
||||
>
|
||||
{tabs.map((item) => (
|
||||
<TabBar.Item key={item.key} icon={item.icon} title={item.title} />
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user