|
@@ -1,7 +1,7 @@
|
|
|
import React, { Component } from 'react';
|
|
|
import { Layout } from 'antd';
|
|
|
import DrawCategory from './DrawCategory'
|
|
|
-import Slider from '@material-ui/lab/Slider';
|
|
|
+
|
|
|
|
|
|
const { Sider } = Layout;
|
|
|
// const axios = require('axios');
|
|
@@ -86,8 +86,7 @@ class LeftMenu extends Component {
|
|
|
|
|
|
render() {
|
|
|
|
|
|
- const { classes } = this.props;
|
|
|
- const { value } = this.state;
|
|
|
+
|
|
|
|
|
|
return (
|
|
|
<div>
|
|
@@ -97,14 +96,7 @@ class LeftMenu extends Component {
|
|
|
onCollapse={this.onCollapse}
|
|
|
>
|
|
|
<DrawCategory />
|
|
|
- <Slider
|
|
|
- classes={{ container: classes.slider }}
|
|
|
- value={value}
|
|
|
- min={0}
|
|
|
- max={6}
|
|
|
- step={1}
|
|
|
- onChange={this.handleChange}
|
|
|
- />
|
|
|
+
|
|
|
</Sider>
|
|
|
</Layout>
|
|
|
</div>
|