源码之家

  • 首页
  • 文章
  • 问答
  • 下载
您的位置: 首页  >  文章  >  :Method definition shorthands are not supported by current JavaScript version解决方法(转)

:Method definition shorthands are not supported by current JavaScript version解决方法(转)

分类: 文章 • 2023-01-05 23:58:52

提示:Method definition shorthands are not supported by current JavaScript version解决方法

 

当创建vue生命周期的钩子实例时,PhpStorm提示如下:

:Method definition shorthands are not supported by current JavaScript version解决方法(转)

意思是:该方法定义的缺陷是不支持当前的JavaScript版本。

解决办法:

打开 File -> Settings -> Languages & Frameworks -> Javascript 

更改JavaScript版本为ECMAScript 6

如下图:

:Method definition shorthands are not supported by current JavaScript version解决方法(转)

相关推荐

  • :Method definition shorthands are not supported by current JavaScript version解决方法(转)
  • 报错:Method definition shorthands are not supported by current JavaScript version
  • Method definition shorthands are not supported by current JavaScript version
  • method definition shorthands are not supported by current JavaScript version
  • method definition shorthands are not supported by current JavaScript version 解决方法
  • VUE:Method definition shorthands are not supported by current JavaScript version解决办法
  • 提示:Method definition shorthands are not supported by current JavaScript version解决方法
  • Host "xxx.xxx.xxx.xxx" is not allowes to connect to this MySQL severe.
  • Visio : This UML shape exists on a drawing page which is not part of a UML model diagram.
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 源码之家    备案号:   粤ICP备20058927号