清理掉无效的代码

pull/609570/MERGE
ChenX 7 years ago
parent bc265e6564
commit 2132c33a85

@ -61,18 +61,11 @@ interface SliderData extends InputData
@observer @observer
export class Slider extends React.Component<InputData, {}>{ export class Slider extends React.Component<InputData, {}>{
input: HTMLInputElement; input: HTMLInputElement;
remove;
componentDidMount() componentDidMount()
{ {
// this.remove = autorun(() =>
// {
// let data = this.props as InputData;
// this.input.value = data.obj[data.data.key];
// })
} }
componentWillUnmount() componentWillUnmount()
{ {
this.remove();
} }
render() render()
{ {

Loading…
Cancel
Save