react中报错Failed to set an indexed property on 'CSSStyleDeclaration': Index property setter is not supported

The reason is that generate this error when I wrote less the style file, I use the div should be used to use className =, and I mistakenly wrote a style =. style which of course is not the custom of className, an error is generated, for example, your className called mycontent, natural style which will not be there. So error, we encounter this error careful what you can find.

Guess you like

Origin www.cnblogs.com/jichi/p/11896544.html