即使添加了请求的插件,Babel也会抛出错误

时间:2020-01-27 18:35:38

标签: reactjs babeljs

我收到此错误:

SELECT T.* FROM
(SELECT PK_COLUMN
FROM (
  SELECT product.PK_COLUMN, rownum AS n
  FROM product
) WHERE n >= 4 AND n < 4+2) P
JOIN T ON T.PK_COLUMN = P.PK_COLUMN

所以我安装了插件并更新了 45 | } 46 | > 47 | pressItem = () => { | ^ 48 | this.setState({modalVisible:true}); 49 | } 50 | Add @babel/plugin-proposal-class-properties (https://git.io/vb4SL) to the 'plugins' section of your Babel config to enable transformation.

.babelrc

但是我仍然遇到相同的错误。我当然已经重启了服务器。为什么这行不通?

0 个答案:

没有答案