点击反转报错
TypeError: "MozTransform" is read-only
./src/index.js/render/<
C:/Users/thierry/Desktop/JS/React/gallery-by-react/src/index.js:29
26 | //如果图片的旋转角度有值并且不为0,添加旋转角度
27 | if (this.props.arrange.rotate) {
28 | (['Moz', 'Ms', 'Webkit', '']).forEach((value) => {
> 29 | styleObj[value + 'Transform'] = 'rotate(' + this.props.arrange.rotate + 'deg)';
30 | });
31 | }
32 |