From 2132c33a85e6a78c42f005052f0dc6a208593731 Mon Sep 17 00:00:00 2001 From: ChenX Date: Wed, 17 Jan 2018 13:58:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E6=8E=89=E6=97=A0=E6=95=88?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/UI/MaterialEditor/MaterialComponen.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/UI/MaterialEditor/MaterialComponen.tsx b/src/UI/MaterialEditor/MaterialComponen.tsx index 56c24127c..d7e6315c5 100644 --- a/src/UI/MaterialEditor/MaterialComponen.tsx +++ b/src/UI/MaterialEditor/MaterialComponen.tsx @@ -61,18 +61,11 @@ interface SliderData extends InputData @observer export class Slider extends React.Component{ input: HTMLInputElement; - remove; componentDidMount() { - // this.remove = autorun(() => - // { - // let data = this.props as InputData; - // this.input.value = data.obj[data.data.key]; - // }) } componentWillUnmount() { - this.remove(); } render() {