2017-06-14 20 views
0

爲什麼標準JS說標誌=是一個意外的令牌?我正在使用PhpStorm。意外的令牌=箭頭功能使用StandardJS

該代碼完美地工作,我只是按照從https://github.com/whoisandy/react-rangeslider教程,並得到了這個錯誤。

handleOnChange = (value) => { 
this.setState({ 
    volume: value 
}) 
} 

enter image description here

+0

https://stackoverflow.com/questions/39431418/ecmascript-6-support-in-phpstorm-2016 – Tik

+0

不是相同的問題/錯誤和解決方案不解決我的問題 –

回答