<div className={classes.root}>
<AppBar position="static">
<Tabs variant="fullWidth" value={value} onChange={this.handleChange}>
<LinkTab label="Page One" href="page1" />
<LinkTab label="Page Two" href="page2" />
<LinkTab label="Page Three" href="page3" />
</Tabs>
</AppBar>
{value === 0 && <TabContainer>Page One</TabContainer>}
{value === 1 && <TabContainer>Page Two</TabContainer>}
{value === 2 && <TabContainer>Page Three</TabContainer>}
</div>
variant="fullWidth"是关键