|
@@ -119,7 +119,7 @@ class BasicLayout extends React.PureComponent {
|
|
|
isMobile={this.state.isMobile}
|
|
|
/>
|
|
|
<Content style={{ margin: '24px 24px 0', height: '100%' }}>
|
|
|
- {currentUser.platForm &&
|
|
|
+ {(currentUser.platForm === undefined || currentUser.platForm) &&
|
|
|
<div style={{ minHeight: 'calc(100vh - 260px)' }}>
|
|
|
<Switch>
|
|
|
{
|
|
@@ -137,7 +137,7 @@ class BasicLayout extends React.PureComponent {
|
|
|
/>
|
|
|
))
|
|
|
}
|
|
|
- <Redirect exact from="/" to="/sold" />
|
|
|
+ <Redirect exact from="/" to="/goods" />
|
|
|
<Route render={NotFound} />
|
|
|
</Switch>
|
|
|
</div>
|